Here is my code:
This displays the OS information. However, I am after some code to display information such as:
Windows 7 64 bit Home version
Service Pack x
Do I need to use a different class to get this information? The above code comes up with information such as WIN32NT and nothing about a Home/Profesional version. I have had a look on google to find code to do this, but cannot find anything.
Is there a class that can obtain this information and if so, may I please have the name of the class or a link to some relevant code/documentation.
Code:
Dim os As OperatingSystem = Environment.OSVersion
MsgBox("OS Version: " + os.Version.ToString())
MsgBox("OS Platoform: " + os.Platform.ToString())
MsgBox("OS SP: " + os.ServicePack.ToString())
MsgBox("OS Version String: " + os.VersionString.ToString())
Windows 7 64 bit Home version
Service Pack x
Do I need to use a different class to get this information? The above code comes up with information such as WIN32NT and nothing about a Home/Profesional version. I have had a look on google to find code to do this, but cannot find anything.
Is there a class that can obtain this information and if so, may I please have the name of the class or a link to some relevant code/documentation.