Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

32-Bit or 64-bit OS ??

1.00/5 (3 votes)
20 Sep 2010CPOL 12.8K  
To check 64Bit Operating system in VB.NET,Public Shared Function is64BitOPeratinSystem() As Boolean Return (Marshal.SizeOf(IntPtr.Zero) = 8)End Function
To check 64Bit Operating system in VB.NET,

Public Shared Function is64BitOPeratinSystem() As Boolean
    Return (Marshal.SizeOf(IntPtr.Zero) = 8)
End Function

License

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