it is .net/C# application, an exe is provided and the os is 64 bit, i want to know whether the process runs in 64 bit or 32 bit.
Is there any tool to that tells process is running in 64 bit or 32 bit mode?
it is .net/C# application, an exe is provided and the os is 64 bit, i want to know whether the process runs in 64 bit or 32 bit.
Is there any tool to that tells process is running in 64 bit or 32 bit mode?
Environment.Is64BitProcess ( fw 4).........
also please notice about this one :
Environment.Is64BitOperatingSystem
Appending Royi's answer you can try this also:
Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE");
Answers are about how to write an app that would check it for you. If I understand your question correctly you only need to see if a process is 32 bit or 64 bit. If that's true you only need a Windows built-in task manager. All processes that run in 32 bit mode are marked with *32
in the Process tab.