M
Markus Wildgruber
Hi!
How can I get information about the system my application is running on? I
found the System.Environment class that provides me with some of the desired
information but some of them not in the form I want.
For example, you can get the OS-version but when using ToString() to do the
user output, it returns 'Microsoft Windows NT 5.1.2600.0' when running on
Windows XP Professional.
Is there a way to get a user-understandable string like 'Windows XP
Professional' or 'Windows 2000 Server'?
Are there any other namespaces/classes that can provide me with system
information like the OS name (Windows XP) and version?
Do I have to use PInvoke?
TIA,
Markus
How can I get information about the system my application is running on? I
found the System.Environment class that provides me with some of the desired
information but some of them not in the form I want.
For example, you can get the OS-version but when using ToString() to do the
user output, it returns 'Microsoft Windows NT 5.1.2600.0' when running on
Windows XP Professional.
Is there a way to get a user-understandable string like 'Windows XP
Professional' or 'Windows 2000 Server'?
Are there any other namespaces/classes that can provide me with system
information like the OS name (Windows XP) and version?
Do I have to use PInvoke?
TIA,
Markus