Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hi,
Is it possible to check if computer is 32 bit or 64 using vb.net code?
I just want to display the result in a message.
 
Please advise.
Posted 19-Jan-13 22:03pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Environment.Is64BitOperatingSystem 
returns bool that answers your question Wink | ;)
 
Also,
Environment.Is64BitProcess
returns bool that answers whether the process itself is 64bit
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 20 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid