Environment.OSVersion Property gets platform identifier and version number.
Imports System Class Sample Public Shared Sub Main() Console.WriteLine("OSVersion: {0}", Environment.OSVersion.ToString()) End Sub 'Main End Class 'Sample