OperatingSystemEnumOsName Enumeration |
A set of flags that describe the named Windows versions.
Namespace:
Alphaleonis.Win32
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax Public Enumeration EnumOsName
public enum class EnumOsName
Members
| Member name | Value | Description |
---|
| Earlier | -1 | A Windows version earlier than Windows 2000. |
| Windows2000 | 0 | Windows 2000 (Server or Professional). |
| WindowsXP | 1 | Windows XP. |
| WindowsServer2003 | 2 | Windows Server 2003. |
| WindowsVista | 3 | Windows Vista. |
| WindowsServer2008 | 4 | Windows Server 2008. |
| Windows7 | 5 | Windows 7. |
| WindowsServer2008R2 | 6 | Windows Server 2008 R2. |
| Windows8 | 7 | Windows 8. |
| WindowsServer2012 | 8 | Windows Server 2012. |
| Windows81 | 9 | Windows 8.1. |
| WindowsServer2012R2 | 10 | Windows Server 2012 R2 |
| Windows10 | 11 | Windows 10 |
| WindowsServer | 12 | Windows Server |
| Later | 65535 | A later version of Windows than currently installed. |
Remarks The values of the enumeration are ordered. A later released operating system version has a higher number, so comparisons between named versions are meaningful.
See Also