Table of Contents

Class WindowsOperatingSystemVersion

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents information about the Windows operating system version.

public class WindowsOperatingSystemVersion : GlobalSerializableClassicBase
Inheritance
WindowsOperatingSystemVersion

Constructors

WindowsOperatingSystemVersion()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsOperatingSystemVersion class.

public WindowsOperatingSystemVersion()

WindowsOperatingSystemVersion(string, bool)

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsOperatingSystemVersion class.

public WindowsOperatingSystemVersion(string versionString, bool isServer)

Parameters

versionString string

The full version number as a string - for example "6.1.2481".

isServer bool

Determines whether the operating system is a server operating system.

WindowsOperatingSystemVersion(Version, bool)

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsOperatingSystemVersion class.

public WindowsOperatingSystemVersion(Version version, bool isServer)

Parameters

version Version

The full version of the operating system - for example "6.1.2481".

isServer bool

Determines whether the operating system is a server operating system.

Properties

IsConfigured

Gets or sets whether the Windows version value is configured.

public bool IsConfigured { get; }

Property Value

bool

IsServer

Gets or sets whether the operating system is a server operating system.

public BooleanOption IsServer { get; set; }

Property Value

BooleanOption

Min10

Gets whether the Windows machine is at least Windows 10 or Windows Server 2016 (Version 10.0).

public bool Min10 { get; }

Property Value

bool

Min11

Gets whether the Windows machine is at least Windows 11 (Version 10.0 build 22000).

public bool Min11 { get; }

Property Value

bool

Min2000

Gets whether the Windows machine is at least Windows 2000 (Version 5.0).

public bool Min2000 { get; }

Property Value

bool

Min2003

Gets whether the Windows machine is at least Windows 2003 (Version 5.2).

public bool Min2003 { get; }

Property Value

bool

Min2008

Gets whether the Windows machine is at least Windows 2008 or Windows Vista (Version 6.0).

public bool Min2008 { get; }

Property Value

bool

Min2008R2

Gets whether the Windows machine is at least Windows 2008 R2 or Windows 7 (Version 6.1).

public bool Min2008R2 { get; }

Property Value

bool

Min2012

Gets whether the Windows machine is at least Windows 2012 or Windows 8 (Version 6.2).

public bool Min2012 { get; }

Property Value

bool

Min2012R2

Gets whether the Windows machine is at least Windows 2012 R2 or Windows 8.1 (Version 6.3).

public bool Min2012R2 { get; }

Property Value

bool

Min2016

Gets whether the Windows machine is at least Windows 10 or Windows Server 2016 (Version 10.0).

public bool Min2016 { get; }

Property Value

bool

Min2019

Gets whether the Windows machine is running Windows Server 2019 (Version 10.0 build 17763) or above.

public bool Min2019 { get; }

Property Value

bool

Min2022

Gets whether the Windows machine is running Windows Server 2022 (Version 10.0 build 20348) or above.

public bool Min2022 { get; }

Property Value

bool

Min7

Gets whether the Windows machine is at least Windows 2008 R2 or Windows 7 (Version 6.1).

public bool Min7 { get; }

Property Value

bool

Min8

Gets whether the Windows machine is at least Windows 2012 or Windows 8 (Version 6.2).

public bool Min8 { get; }

Property Value

bool

Min81

Gets whether the Windows machine is at least Windows 2012 R2 or Windows 8.1 (Version 6.3).

public bool Min81 { get; }

Property Value

bool

MinNT

Gets whether the Windows machine is at least Windows NT4 server or workstation (Version 4.0).

public bool MinNT { get; }

Property Value

bool

MinVista

Gets whether the Windows machine is at least Windows 2008 or Windows Vista (Version 6.0).

public bool MinVista { get; }

Property Value

bool

MinXP

Gets whether the Windows machine is at least Windows XP (Version 5.1).

public bool MinXP { get; }

Property Value

bool

Version

Gets or sets the full version number - for example "6.1.2481".

public SerializableVersion Version { get; set; }

Property Value

SerializableVersion

VersionString

Gets or sets the version string used as the XML backing.

[Browsable(false)]
public string VersionString { get; set; }

Property Value

string

Win10

Gets whether the Windows machine is running Windows 10 (Version 10.0).

public bool Win10 { get; }

Property Value

bool

Win11

Gets whether the Windows machine is running Windows 11 (Version 10.0 build 22000 and above).

public bool Win11 { get; }

Property Value

bool

Win2000

Gets whether the Windows machine is running Windows 2000 (Version 5.0).

public bool Win2000 { get; }

Property Value

bool

Win2003

Gets whether the Windows machine is running Windows 2003 (Version 5.2).

public bool Win2003 { get; }

Property Value

bool

Win2008

Gets whether the Windows machine is running Windows 2008 (Version 6.0).

public bool Win2008 { get; }

Property Value

bool

Win2008R2

Gets whether the Windows machine is running Windows 2008 R2 (Version 6.1).

public bool Win2008R2 { get; }

Property Value

bool

Win2012

Gets whether the Windows machine is running Windows 2012 (Version 6.2).

public bool Win2012 { get; }

Property Value

bool

Win2012R2

Gets whether the Windows machine is running Windows 2012 R2 (Version 6.3).

public bool Win2012R2 { get; }

Property Value

bool

Win2016

Gets whether the Windows machine is running LTSB Windows Server 2016 (Version 10.0 build 14393).

public bool Win2016 { get; }

Property Value

bool

Win2019

Gets whether the Windows machine is running LTSB Windows Server 2019 (Version 10.0 build 17763).

public bool Win2019 { get; }

Property Value

bool

Win2022

Gets whether the Windows machine is running LTSB Windows Server 2022 (Version 10.0 build 20348).

public bool Win2022 { get; }

Property Value

bool

Win7

Gets whether the Windows machine is running Windows 7 (Version 6.1).

public bool Win7 { get; }

Property Value

bool

Win8

Gets whether the Windows machine is running Windows 8 (Version 6.2).

public bool Win8 { get; }

Property Value

bool

Win81

Gets whether the Windows machine is running Windows 8.1 (Version 6.3).

public bool Win81 { get; }

Property Value

bool

WinNT

Gets whether the Windows machine is running Windows NT4 server or NT4 workstation (Version 4.0).

public bool WinNT { get; }

Property Value

bool

WinVista

Gets whether the Windows machine is running Windows Vista (Version 6.0).

public bool WinVista { get; }

Property Value

bool

WinXP

Gets whether the Windows machine is running Windows XP (Version 5.1).

public bool WinXP { get; }

Property Value

bool

Methods

ToString()

Returns the full version number - for example "6.1.2481" or "{Not Configured}".

public override string ToString()

Returns

string

The full version number.