Version Class represents the version number of an assembly, operating system, or the common language runtime : OperatingSystem « Development « VB.Net






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

1.OperatingSystem Class represents information about an operating system
2.OperatingSystem Class represents information about an operating system