vb.net check operating system

50

vb.net check operating system -

    Dim osVer As Version = Environment.OSVersion.Version

    If osVer.Major = 6 And osVer.Minor = 1 Then
        Console.WriteLine("win7!!")
    End If

Comments

Submit
0 Comments