I am trying to write a C# program to retrieve a complete process list. However I find that an application open a window but I don't see it in the process tab of WinXP task manager, I see it in task tab. In addition, I also cannot get its information using my C# code.
static void showProcesses()
{
Process[] procs = Process.GetProcesses();
foreach (Process proc in procs)
{
Console.WriteLine(proc.ProcessName);
}
}
I browse many forums but I can only find the methods to hide a process, and I don't find any method for showing hidden processes... Do anyone have idea how to retrieve hidden process information?
Many thanks.