P Prajakta Dec 28, 2007 #1 Is there any utility or command for windows to determine whether the application is 32 bit or 64 bit?
Is there any utility or command for windows to determine whether the application is 32 bit or 64 bit?
P Peter Ritchie [C# MVP] Dec 28, 2007 #2 In .Net, you can see if you're running in the 64-bit CLR by checking the size of the IntPtr type. If you're running 64-bit its size will be 8, in 32-bit it will be 4. For example: public static Boolean Is64Bit() { return IntPtr.Size == 8; }
In .Net, you can see if you're running in the 64-bit CLR by checking the size of the IntPtr type. If you're running 64-bit its size will be 8, in 32-bit it will be 4. For example: public static Boolean Is64Bit() { return IntPtr.Size == 8; }