determine 32/64-bit system
Published: 16. January 2009 | Updated: 31. October 2011License: Microsoft Public License (MS-PL)
Categories: Windows
Tags: C# Windows
Console.WriteLine("You are running on {0}-bit system", IntPtr.Size * 8); // or bool is64bit = Environment.Is64BitOperatingSystem;Console Output:
You are running on 32-bit system
| Send us feedback about this snippet » |





