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;
}
--
Browse
http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Prajakta" wrote:
Quote:
Is there any utility or command for windows to determine whether the
application is 32 bit or 64 bit? |