Share via


DeviceInfo.DeviceId Property

 

Gets the identifier of the device.

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

Syntax

public string DeviceId { get; private set; }
public:
property String^ DeviceId {
    String^ get();
    private: void set(String^ value);
}
Public Property DeviceId As String
    Get
    Private Set
End Property

Property Value

Type: System.String

An instance of String.

Remarks

This property cannot be modified after the device is reported. The identifier of the device should be unique. It is reccomended that you use a GUID as the device identifier.

See Also

DeviceInfo Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top