Click or drag to resize

SubsystemVersion Class

Represents subsystem version, see /subsystemversion command line option for details and valid values. The following table lists common subsystem versions of Windows. Windows version Subsystem version - Windows 2000 5.00 - Windows XP 5.01 - Windows Vista 6.00 - Windows 7 6.01 - Windows 8 Release Preview 6.02
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public sealed class SubsystemVersion : ValueType, 

The SubsystemVersion type exposes the following members.

Public propertyIsValid
True if the subsystem version has a valid value
Public propertyMajor
Major subsystem version
Public propertyMinor
Minor subsystem version
Public propertyStatic memberNone
Subsystem version not specified
Public propertyStatic memberWindows2000
Subsystem version: Windows 2000
Public propertyStatic memberWindows7
Subsystem version: Windows 7
Public propertyStatic memberWindows8
Subsystem version: Windows 8
Public propertyStatic memberWindowsVista
Subsystem version: Windows Vista
Public propertyStatic memberWindowsXP
Subsystem version: Windows XP
Public methodStatic memberCreate
Create a new instance of subsystem version with specified major and minor values.
Public methodEquals(Object)
Public methodEquals(SubsystemVersion)
Public methodGetHashCode
Public methodToString
Public methodStatic memberTryParse
Try parse subsystem version in "x.y" format. Note, no spaces are allowed in string representation.
See Also