Version Class represents the version number of an assembly, operating system, or the common language runtime
Imports System
Imports Microsoft.VisualBasic
Module MainClass
Sub Main( )
' Get the operating system version.
Dim os As OperatingSystem = Environment.OSVersion
Dim ver As Version = os.Version
Console.WriteLine("Operating System: {0} ({1})", os.VersionString, ver.ToString())
End Sub
End Module
Related examples in the same category