Hello,
I want to detect if my application is running under XP, 2003 or Vista? (I know just one of these, no ther OS)
How can I detect the current version?
I have the following information but don't know how should I compare them?
Dim MyVersion As Version = Environment.OSVersion.Version
Dim XPVersion As New Version(5, 1, 0, 0)
Dim ServerVersion As New Version(5, 2, 0, 0)
Dim VistaVersion As New Version(6, 0, 0, 0)
I want to detect if my application is running under XP, 2003 or Vista? (I know just one of these, no ther OS)
How can I detect the current version?
I have the following information but don't know how should I compare them?
Dim MyVersion As Version = Environment.OSVersion.Version
Dim XPVersion As New Version(5, 1, 0, 0)
Dim ServerVersion As New Version(5, 2, 0, 0)
Dim VistaVersion As New Version(6, 0, 0, 0)