How To Find Whether The Machine Is of 32-Bit/64-Bit Architecture

13. May 2010 22:22

.NET Framework C# Code Snippets  Comments

The easiest way to find out the processor architecture is to use the Environment class GetEnvironmentVariable method


This will print the processor architecture on the console window i.e. x86 and x64 for 32-bit and 64-bit respectively.

Currently rated 5.0 by 1 person