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;
}
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.