With C#, i use this code to list main window processes titles
Process[] ProcessArray = Process.GetProcesses();
try {
foreach (Process proc in ProcessArray) {
Console.WriteLine(proc.MainWindowTitle);
}
} catch (Exception ex) {
Console.WriteLine(ex.Message);
}
but this doesn't work to see mainwindowtitle of processes reduced in the taskbar. How to do this ?