How to tell if app is running in 32-bit or 64-bit mode?
I have a C# project with target platform set to "Any CPU". As I understand, the app will be compiled from MSIL to 32-bit on regular Windows (x86) and 64-bit for 64-bit Windows. Is it possible to show at runtime what mode it is开发者_如何学Python running in ?
Thanks in advance.
Here are some of the ways : http://rongchaua.net/blog/c-how-to-determine-processor-64-bit-or-32-bit/
精彩评论