How do I determine if the computer is x86 or x64?

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,462
Programming Experience
10+
Anyone know how I can determine if the current user is running under a 32-bit OS (x86) or a 64-bit OS (x64)?
 
Check the Win32_Processor.Architecture with WMI, it's 0 for x86 and 9 for x64.
 
Back
Top