User Agent Parser
OperatingSystemMajorVersion Property



KellermanSoftware.UserAgentParser Namespace > DeviceInformation Class : OperatingSystemMajorVersion Property
Gets the operating system major version.
Syntax
'Declaration
 
Public ReadOnly Property OperatingSystemMajorVersion As String
'Usage
 
Dim instance As DeviceInformation
Dim value As String
 
value = instance.OperatingSystemMajorVersion
public string OperatingSystemMajorVersion {get;}
public:
property String^ OperatingSystemMajorVersion {
   String^ get();
}

Property Value

The operating system major version.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DeviceInformation Class
DeviceInformation Members