Process[] arr = Process.GetProcessesByName("QQ");
if (null != arr)
{
Process pro = arr[0];
foreach (ProcessThread thread in pro.Threads)
{
Console.WriteLine(String.Format("ID:{0} StartTime:{1} ThreadState{2}" , thread.Id , thread.StartTime , thread.ThreadState));
}
}