using System.Diagnostics;ProcessThreadCollection currentThreads = Process.GetCurrentProcess().Threads;foreach (ProcessThread thread in currentThreads) { // Do whatever you need}
using System.Diagnostics;ProcessThreadCollection currentThreads = Process.GetCurrentProcess().Threads;foreach (ProcessThread thread in currentThreads) { // Do whatever you need}