I want to get the Handle of my "Windows Explorer" Windows (not Internet Explorer).
Normally it works with
var processes = Process.GetProcesses();
foreach (var process in processes)
{
var handle = process.Handle;
}
What i want to do is following:
Bring the a specific Explorer Window to ForeGround
.
I have implemented the "ToForeGround" Method and it works fine for all other Windows except the Windows Explorer
But with the Windows Explorer i only get the Process of the Taskbar independent of how much Windows are open, there is only one "Windows Explorer" Process.
Or can somebody explain me why the "Windows Explorer" is different from other Programms?