Krazz
asked on
64-bit or 32-bit os version
This should be an easy one, I hope! ;)
I'm creating an application in VB.NET and need to figure out if the operating system I'm running my app on is 64-bit or 32-bit. Does anyone know how to programatically figure this out?
I thought "System.Environment.OSVers ion.Platfo rm.ToStrin g" would work but on my Vista 64-bit this returns "Win32NT". :(
I'm creating an application in VB.NET and need to figure out if the operating system I'm running my app on is 64-bit or 32-bit. Does anyone know how to programatically figure this out?
I thought "System.Environment.OSVers
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. Due to the fact that I have way too much in my head right now I thought two different users answered my question and I split the points up. Only after I realized you were the one posting both answers.
Either way, thank you very much for your help. This did solve my problem. :)
Either way, thank you very much for your help. This did solve my problem. :)
ASKER
I'm also very sceptical due to the fact that it is called PROCESSOR_ARCHITECTURE which really has nothing to do with the operating system.
If I am wrong in my assuptions I apologize.