Class WindowsOperatingSystem
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the configuration of the Windows operating system.
public class WindowsOperatingSystem : BaseTypeSection
- Inheritance
-
WindowsOperatingSystem
Constructors
WindowsOperatingSystem()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsOperatingSystem class.
public WindowsOperatingSystem()
Properties
BackupProducts
Gets or sets the backup products installed on the Windows machine.
public WindowsBackupProducts BackupProducts { get; set; }
Property Value
BuildNumber
Gets or sets the build number of the operating system - for example "7601".
public string BuildNumber { get; set; }
Property Value
BuildType
Gets or sets the build type of the operating system - for example "Multiprocessor Free".
public string BuildType { get; set; }
Property Value
Caption
Gets or sets the display name of the operating system - for example "Microsoft Windows 7 Enterprise".
public string Caption { get; set; }
Property Value
CodeSet
Gets or sets the code page of the operating system - for example "1255". A code page contains a character table that an operating system uses to translate strings for different languages.
public string CodeSet { get; set; }
Property Value
CountryCode
Gets or sets the country code of the operating system - for example "44" for United Kingdom.
public string CountryCode { get; set; }
Property Value
DiskQuotas
Gets or sets the disk quotas configured on this Windows machine.
public WindowsDiskQuotaSettings DiskQuotas { get; set; }
Property Value
DnsHostname
Gets or sets the DNS hostname of this machine.
public string DnsHostname { get; set; }
Property Value
DomainName
Gets or sets the name of the domain or workgroup that this machine is currently a member of.
public string DomainName { get; set; }
Property Value
DomainOrWorkgroup
Gets whether this machine is in a domain or workgroup.
public DomainOrWorkgroup DomainOrWorkgroup { get; set; }
Property Value
DomainRole
Gets or sets the role that this machine plays within the domain.
public DomainRole DomainRole { get; set; }
Property Value
DomainRoleString
Gets the role that this machine plays within the domain in a human readable format.
public string DomainRoleString { get; set; }
Property Value
EnvironmentVariables
Gets or sets the environment variables configured on this Windows machine.
public EnvironmentVariables EnvironmentVariables { get; set; }
Property Value
FailoverClustering
Gets or sets the failover clustering configuration.
public WindowsFailoverClusteringConfiguration FailoverClustering { get; set; }
Property Value
FreePhysicalMemory
Gets or sets the amount of physical memory currently unused and available in kilobytes.
public ulong FreePhysicalMemory { get; set; }
Property Value
FullyQualifiedDomainName
Gets or sets the fully qualified domain name(FQDN) of this machine.
public string FullyQualifiedDomainName { get; set; }
Property Value
HostsFile
Gets or sets the hosts file for the machine.
public WindowsFileInformation HostsFile { get; set; }
Property Value
InstallDate
Gets or sets the date on which the operating system was installed.
public DateTime InstallDate { get; set; }
Property Value
InternetSettings
Gets or sets information about Internet Explorer and other internet related settings on this Windows machine.
public InternetSettings InternetSettings { get; set; }
Property Value
IsBareMetalHypervisor
Gets whether the system is a bare metal Hyper-V hypervisor.
public BooleanOption IsBareMetalHypervisor { get; set; }
Property Value
IsDomainController
Gets whether this machine is a domain controller.
public BooleanOption IsDomainController { get; set; }
Property Value
IsDomainMember
Gets whether this machine is a domain member either as a domain controller or member server.
public BooleanOption IsDomainMember { get; set; }
Property Value
IsMinimalServer
Gets or sets whether the machine is running a minimal server graphical interface on Windows Server 2012.
public BooleanOption IsMinimalServer { get; set; }
Property Value
IsNanoServer
Gets or sets whether the machine is running a nano server installation.
public BooleanOption IsNanoServer { get; set; }
Property Value
IsServer
Gets whether this machine is a server machine.
public BooleanOption IsServer { get; set; }
Property Value
IsServerCore
Gets or sets whether the machine is running a server core operating system. This returns true on Windows Server 2012 systems even if the "Graphical Management Tools and Infrastructure" feature is installed.
public BooleanOption IsServerCore { get; set; }
Property Value
IsServerInstallationTypeAvailable
Gets whether the server installation type is available for this machine.
public bool IsServerInstallationTypeAvailable { get; }
Property Value
LastBootUpTime
Gets or sets the date and time at which the machine last booted up.
public DateTime LastBootUpTime { get; set; }
Property Value
License
Gets or sets operating system license information.
public WindowsOperatingSystemLicense License { get; set; }
Property Value
Locale
Gets or sets the language identifier used by the operating system - for example "1c09".
public string Locale { get; set; }
Property Value
MuiLanguages
Gets or sets the Languages that are available to the user interface (applies to newer operating systems that are installed using the English version of the operating system).
public SerializableStringCollection MuiLanguages { get; set; }
Property Value
- SerializableStringCollection
NetBiosName
Gets or sets the machine's NetBIOS name.
public string NetBiosName { get; set; }
Property Value
NetFramework
Gets or sets the .NET Framework setup on this machine.
public NetFrameworkSetup NetFramework { get; set; }
Property Value
NetworkLoadBalancing
Gets or sets the network load balancing (NLB) configuration for this machine. This applies to Windows server 2003 and above only.
public WindowsNlbConfiguration NetworkLoadBalancing { get; set; }
Property Value
OSLanguage
Gets or sets the language version of the operating system installed - for example "1033".
public uint OSLanguage { get; set; }
Property Value
Odbc
Gets or sets the ODBC configuration of this Windows machine.
public OdbcConfiguration Odbc { get; set; }
Property Value
OperatingSystemArchitecture
Gets or sets the operating system architecture type - i.e. 32-bit or 64-bit.
public OperatingSystemArchitectureType OperatingSystemArchitecture { get; set; }
Property Value
OperatingSystemArchitectureString
Returns the operating system architecture type in a human readable format.
public string OperatingSystemArchitectureString { get; set; }
Property Value
OptionalFeatures
Gets or sets information about the optional features installed for this machine. This only applies to desktop operating systems.
public WindowsOptionalFeatures OptionalFeatures { get; set; }
Property Value
PageFiles
Gets or sets the configuration of the page files configured on this Windows machine.
public WindowsPageFiles PageFiles { get; set; }
Property Value
PowerShell
Gets or sets the PowerShell settings for this machine.
public WindowsPowerShellSettings PowerShell { get; set; }
Property Value
RegistryCurrentSize
Gets or sets the current size of the registry at the time of the scan in megabytes.
public int RegistryCurrentSize { get; set; }
Property Value
RegistryMaximumSize
Gets or sets the maximum size of the registry in megabytes.
public int RegistryMaximumSize { get; set; }
Property Value
ReleaseName
Gets the display name of the version - for example "October 2020 Update (20H2)". This only applies to Windows 10 and above.
public string ReleaseName { get; set; }
Property Value
RemoteAssistance
Gets or sets the Remote Assistance settings configured on this machine.
public WindowsRemoteAssistanceSettings RemoteAssistance { get; set; }
Property Value
RemoteDesktop
Gets or sets the Remote Desktop Settings configured on this machine.
public WindowsRemoteDesktopSettings RemoteDesktop { get; set; }
Property Value
Security
Gets or sets the security settings on this Windows machine.
public WindowsSecurity Security { get; set; }
Property Value
SerialNumber
Gets or sets the operating system serial number - in the format "xxxxx-xxx-xxxxxxx-xxxxx".
public string SerialNumber { get; set; }
Property Value
ServerFeatures
Gets or sets the server features such as "DHCP Server" installed on this Windows machine. This applies to Windows Server 2008 and above.
public WindowsServerFeatures ServerFeatures { get; set; }
Property Value
ServerInstallationType
Gets or sets the server installation type. This setting only applies to Windows Server 2012 and above.
public WindowsServerInstallationType ServerInstallationType { get; set; }
Property Value
ServerInstallationTypeString
Gets the server installation type as a human readable string. This setting only applies to Windows Server 2012 and above.
public string ServerInstallationTypeString { get; set; }
Property Value
ServicePackVersion
Gets or sets a human readable description of the currently installed service pack - for example "Service Pack 1".
public string ServicePackVersion { get; set; }
Property Value
Sku
Gets or sets the stock keeping unit (SKU) for this operating system. This is available on Windows 2008 and above.
public WindowsOperatingSystemSku Sku { get; set; }
Property Value
StartupCommands
Gets or sets the startup commands configured on this Windows machine.
public WindowsStartupCommands StartupCommands { get; set; }
Property Value
SystemDirectory
Gets or sets the absolute path to the system directory - for example "C:\windows\system32".
public string SystemDirectory { get; set; }
Property Value
TimeZoneBias
Gets or sets the bias of the timezone from GMT - for example Cairo would be "120" = GMT + 2 hours.
public int TimeZoneBias { get; set; }
Property Value
TimeZoneDaylightInEffect
Gets or sets whether the operating system is currently in "DayLight Savings Time". This is not available in Windows NT.
public BooleanOption TimeZoneDaylightInEffect { get; set; }
Property Value
TimeZoneName
Gets or sets the human readable format of the timezone - for example "(UTC+02:00) Harare, Pretoria".
public string TimeZoneName { get; set; }
Property Value
Version
Gets or sets the version number of the operating system - for example "4.0".
public string Version { get; set; }
Property Value
WinRM
Gets or sets the Windows Remote Management settings (WinRM) on the machine.
public WindowsRemoteManagementSettings WinRM { get; set; }
Property Value
WindowsDirectory
Gets or sets the absolute path to the Windows directory - for example "C:\windows".
public string WindowsDirectory { get; set; }
Property Value
WindowsTime
Gets or sets the Windows Time (W32Time) configuration.
public WindowsTimeSettings WindowsTime { get; set; }
Property Value
WindowsUpdate
Gets or sets the Windows update configuration.
public WindowsUpdateConfiguration WindowsUpdate { get; set; }
Property Value
WindowsVersion
Gets the operating system version in a comparable format.
public WindowsOperatingSystemVersion WindowsVersion { get; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsOperatingSystem class from the specified XML.
public static WindowsOperatingSystem FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- WindowsOperatingSystem
A CENTREL.XIA.Configuration.Types.WindowsOperatingSystem class.
ToString()
Returns the name of the operating system - for example "Microsoft Windows 7 Enterprise" or "Windows Operating System" if the name is not available.
public override string ToString()
Returns
- string
The Windows operating system as a human readable string.