How to check whether the system is 32 bit or 64 bit ?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
 
I want to know programmatically whether the system is 32 bit or 64 bit in C#. My program has been compiled for 32 bit for sure but it is not working on 64 bit, so i need to put some checks.
 
Can someone help ?
 
I have seen the post in MSDN blogs itself but couldnt find it working for C#.
 
Thanks in advance.
 
Kulvinder Singh

View the full article
 
Back
Top