I'm using WMI query to get a list of all processes, but what i missing is process description! It appears like this when i use "Description" property!
Name : chrome.exe Description : chrome.exe
but it should be
Name : chrome.exe Description : Google Chrome
So what's the property name that return process description?
public void GetProcesses()
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * From Win32_Process");
ManagementObjectCollection processList = searcher.Get();
foreach (ManagementObject obj in processList)
{
Console.WriteLine("Name : {0} Description : {1}",obj["Name"],obj["Description"]);
}
}