OperatingSystem.Version Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a System.Version object that identifies the operating system.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

member Version : Version with get

Property Value

Type: System.Version

A Version object that describes the major version, minor version, build, and revision numbers for the operating system.

See Operating System Version on the Windows Dev Center for a list of Windows operating system versions and their corresponding version numbers.

The following code example creates several OperatingSystem objects and displays the Version property for each.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: