I want to get the handle of my Windows Explorer, not Internet Explorer.
It usually works with
var processes = Process.GetProcesses();
foreach (var process in processes)
{
var handle = process.Handle;
}
What I want to do is follow these steps:
Bring a specific explorer window to ForeGround. I implemented the ToForeGround method and works great for all other Windows except Windows Explorer
But with Windows Explorer, I get only the process in the taskbar, no matter how many windows are open, there is only one Windows Explorer process.
Or can someone explain to me why Windows Explorer is different from other programs?
source
share