Partager via


OperatingSystemProperty.OSName Property

 

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

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

Syntax

[DataMemberAttribute]
public string OSName { get; private set; }
public:
[DataMemberAttribute]
property String^ OSName {
    String^ get();
    private: void set(String^ value);
}
<DataMemberAttribute>
Public Property OSName As String
    Get
    Private Set
End Property

Property Value

Type: System.String

An instance of String that contains the name of the operating system.

See Also

OperatingSystemProperty Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top