Share via


OperatingSystemProperty Class

 

Represents the operating system information for the device.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.Devices.DeviceProperty
    Microsoft.WindowsServerSolutions.Common.Devices.OperatingSystemProperty

Syntax

[DataContractAttribute]
public sealed class OperatingSystemProperty : DeviceProperty
[DataContractAttribute]
public ref class OperatingSystemProperty sealed : DeviceProperty
<DataContractAttribute>
Public NotInheritable Class OperatingSystemProperty
    Inherits DeviceProperty

Properties

Name Description
System_CAPS_pubproperty Family

Gets the family of the operating system that is running on the device.

System_CAPS_pubproperty OSName

Gets the name of the operating system that is running on the device.

System_CAPS_pubproperty OSVersion

Gets the OS version.

System_CAPS_pubproperty PropertyName

Gets the name of the property.(Inherited from DeviceProperty.)

System_CAPS_pubproperty ServicePackMajorVersion

Gets the major service pack version of the operating system.

System_CAPS_pubproperty SkuType

Gets the SKU type.

System_CAPS_pubproperty SystemType

Gets the system type of the operating system.

System_CAPS_pubproperty Timestamp

Gets the timestamp for the device.(Inherited from DeviceProperty.)

Methods

Name Description
System_CAPS_pubmethod Equals(DeviceProperty)

Compares one OperatingSystemProperty object to another OperatingSystemProperty object.(Overrides DeviceProperty.Equals(DeviceProperty).)

System_CAPS_pubmethod Equals(Object)

Calls the Equals method with the specified object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for the OperatingSystemProperty object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string representation of the properties.(Overrides Object.ToString().)

System_CAPS_pubmethod UpdateDeviceInfo(DeviceInfo)

Updates the information for the device.

Remarks

An instance of OperatingSystemProperty must be created by using the CreateOperatingSystemProperty method.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top