I am using the System.Diagnostics.Process class in order to loop thru all the
processes running. Within that loop I am looking for the process name
“aspnet_wp” in order to get the process ID. Once I find it, I use the process
ID to find all the threads running under that process. This works fine so
far. What I would like to do is to be able to detect/find the threads that my
ASP.NET app. created.
I have tried giving the threads I created a name (t1.Name = "SampleThread"),
but I don’t find a way to search for these names.
My question is: How can I find the threads I create from within my ASP.NET
app?
Thanks in advance.