How to indentify application is 32 bit or 64 bit?

How to indentify application is 32 bit or 64 bit?

am 28.12.2007 06:26:00 von Prajakta

Is there any utility or command for windows to determine whether the
application is 32 bit or 64 bit?

RE: How to indentify application is 32 bit or 64 bit?

am 28.12.2007 17:03:01 von PRSoCo

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:

> Is there any utility or command for windows to determine whether the
> application is 32 bit or 64 bit?