|
After starting a thread using the Thread class,
Getting a ProcessThread collection from the current Process:
Process processInfo = Process.GetCurrentProcess();
ProcessThreadCollection threadsInfo = processInfo.Threads;
Is there a way to determine which ProcessThread instance refers to the Thread you just started.
I tried correlating them comparing
Thread.ManagedThreadId and ProcessThread.Id but they appear to represent different things.
Just looking for a point in the right direction.
Thank you,
Randy
Randy |