How to track .Net thread pool usage?
问题 AFAIK some methods in the .Net library are able to do I/O jobs asynchronously without consuming a thread from the pool . If my information are correct the WebClient *Async methods do that. I'd like to verify it by checking that effectively threads from the pool are not used during a download. So my general question is : how can I monitor the current state of the thread-pool? number of threads number of busy threads Is there some API ( GetAvailableThreads ?) or performance counters that would