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 | |
---|---|---|
![]() |
Family | Gets the family of the operating system that is running on the device. |
![]() |
OSName | Gets the name of the operating system that is running on the device. |
![]() |
OSVersion | Gets the OS version. |
![]() |
PropertyName | Gets the name of the property.(Inherited from DeviceProperty.) |
![]() |
ServicePackMajorVersion | Gets the major service pack version of the operating system. |
![]() |
SkuType | Gets the SKU type. |
![]() |
SystemType | Gets the system type of the operating system. |
![]() |
Timestamp | Gets the timestamp for the device.(Inherited from DeviceProperty.) |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(DeviceProperty) | Compares one OperatingSystemProperty object to another OperatingSystemProperty object.(Overrides DeviceProperty.Equals(DeviceProperty).) |
![]() |
Equals(Object) | Calls the Equals method with the specified object.(Overrides Object.Equals(Object).) |
![]() |
GetHashCode() | Returns a hash code for the OperatingSystemProperty object.(Overrides Object.GetHashCode().) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
ToString() | Returns a string representation of the properties.(Overrides Object.ToString().) |
![]() |
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