VB.NET Is OS Arch 64 bit or 32 bit Works for Windows 8
Dim Is64Bit As Boolean
Is64Bit = Not String.IsNullOrEmpty(Environment.GetEnvironmentVariable("PROCESSOR_ARCHITEW6432"))
If Is64Bit = True Then
'64 bit machine
OSarch = "64"
InstallOSPath = "64"
Else
OSarch = "32"
InstallOSPath = "86"
End If
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.