Share via


OSInfo

Contains information about the operating system of the client computer.

To retrieve this class, call the IComputerTarget.OSInfo property.

The OSInfo class is derived from the System.Object class.

Public Constructors

The OSInfo class has the following public constructors.

Constructor Description
OSInfo()

Initializes a new instance of the OSInfo class.

OSInfo(OSVersion, String)

Initializes a new instance of the OSInfo class.

Public Methods

The OSInfo class has the following public methods.

Method Description
Equals(Object)

Determines if this instance and a specified object are equal.

Equals(Object, Object)

Static (Shared). Determines if the specified Object instances are considered equal.

GetHashCode()

Retrieves the hash code for this instance.

GetType()

Retrieves the Type of the current instance.

ReferenceEquals(Object, Object)

Static (Shared). Determines if the specified Object instances are the same instance.

ToString()

Retrieves the fully qualified type name of this instance.

Public Properties

The OSInfo class has the following public properties.

Property Description
DefaultUILanguage

Locale of the operating system.

Version

Version of the operating system.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IComputerTarget.OSInfo
OSVersion