foreach (Process pr in Process.GetProcesses()) { try { Console.WriteLine(pr.ProcessName); } catch { } }
// first process var p = Process.GetProcesses()[0]; string longname = FileVersionInfo.GetVersionInfo(p.MainModule.FileName).FileDescription;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)