Dela via


Device.Id Property

Gets the unique identifier of the current device.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public ReadOnly Property Id As ObjectId
'Usage
Dim instance As Device 
Dim value As ObjectId 

value = instance.Id
public ObjectId Id { get; }
public:
property ObjectId^ Id {
    ObjectId^ get ();
}
public function get Id () : ObjectId

Property Value

Type: Microsoft.SmartDevice.Connectivity.ObjectId
The unique identifier of the current device.

Remarks

This is a read only property.

.NET Framework Security

See Also

Reference

Device Class

Device Members

Microsoft.SmartDevice.Connectivity Namespace