hi everybody,
could anybody please tell me "how to know whether the OS is 32 bit or 64 bit after installing the OS???"
bool is64Bit = false; if(IntPtr.Size==8) is64Bit = true;
bool is64Bit = false; if(Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE").ToString().Contains("64")) is64Bit = true;
There are many ways to determine this. This is just 2. Check out this linkhttp://channel9.msdn.com/forums/TechOff/410567-C-Detect-32-bit-or-64-bit-OS/