Get a list of all running Windows processes through which you can step using a foreach loop.
- foreach (System.Diagnostics.Process winProc in
System.Diagnostics.Process.GetProcesses()) - {
- MessageBox.Show(“Process ” + winProc. Id + “: ” +
winProc.ProcessName); - }