C#
bool is64bit = IntPtr.Size == 8;
VB.NET
Dim is64bit As Boolean = IntPtr.Size = 8
More information on from:
http://channel9.msdn.com/forums/Coffeehouse/465445-How-can-I-tell-if-my-NET-application-is-running-in-64bit-on-the-64bit-server/
This blog is a depository for things I have found regarding VB.NET and C#.NET development (and other things I may need to remember). This blog is primarily for my own reference, but if the information I found is useful to others, then that is great. If others want to contribute with comments or other information, then that is great too.
bool is64bit = IntPtr.Size == 8;
Dim is64bit As Boolean = IntPtr.Size = 8
No comments:
Post a Comment