4

In asp.net with c# how can i get list of all running threads.
I put a button in asp.net form & when i click on it a thread will be run like this :

Random rnd = new Random();
string thread_name = "trd_" + rnd.Next(99000, 10000000).ToString();
Thread thread = new Thread(() => Thread_Method(thread_name));
thread.Name = thread_name;
thread.Start();

Now in another button click how can i gather all of those running thread names?

CSDev
  • 3,177
  • 6
  • 19
  • 37
SilverLight
  • 19,668
  • 65
  • 192
  • 300

0 Answers0