Using Process.getProcesses() i'm pulling in all running processes on a machine. I need a way to determine if each Process is 32 or 64 bit.
Problem is when I'm running a 32 bit process on a 64 bit machine and it tries to read Process p.MainModule.ModuleName 64 can read everything, but 32 can only get the ModuleName from 32 bit processes.
As usual, any other thoughs are welcome.
Thanks!