I have the code:
foreach (var process in Process.GetProcesses()) {
if (process.ProcessName.ToLowerInvariant().StartsWith("iexplore")) {
foreach (ProcessModule module in process.Modules) {
string descr = module.FileVersionInfo.FileDescription;
MessageBox.Show(module.FileName);
}
}
}
My app is set on "Any CPU" configuration, so it should run as 64bit process on my Win7 x64. I tried to enumerate iexplore.exe's modules (the 32bit version). My question is how to enum the modules of 32bit apps from 64bit app? It returns only the WoW dlls.