Reputation: 1013
I wonder if there is any value I can check on win32_process to see if it is a x86 or x64 process?
http://msdn.microsoft.com/en-us/library/windows/desktop/aa394372%28v=vs.85%29.aspx
Upvotes: 2
Views: 5782
Reputation: 20693
You can't use just WMI to find out is process 32 or 64 bit, but you can use process ID that you obtain wia WMI or process enumeration and then call windows api IsWow64Process, here is a help :
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684139%28v=vs.85%29.aspx
There is a ton of info how to use that API from managed code, just google it :)
Upvotes: 4