I want to get a list of process names for applications that are in the taskbar. How do I get it? Is there a way to filter criteria from process [] ???
I think you can use MainWindowTitle
Process[] processes = Process.GetProcesses(); foreach (var item in processes) { if(item.MainWindowTitle.Length > 0) Console.WriteLine(item.MainWindowTitle); }