I'm not writing a process viewer, but need somewhat the same concept. I can do
List<Process> allProcesses = Process.GetProcesses().ToList();
Question: How can I tell which process is a normal process and which is a windows service? I've dug through the properties of Process and not finding a flag of any sort.