?
Solved

how to return a list of all threads running in the current application domain in C#

Posted on 2007-10-16
1
Medium Priority
?
313 Views
Last Modified: 2010-04-15
how to return a list of all threads running in the current application domain in C#. thank you
0
Comment
Question by:izloch2
1 Comment
 
LVL 14

Accepted Solution

by:
Daniel Junges earned 1000 total points
ID: 20089224


ProcessThreadCollection myThreads = System.Diagnostics.Process.GetCurrentProcess().Threads;
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month15 days, 22 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question