Share via


BluetoothLEDevice.DeviceId Property

Definition

Gets the device Id.

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = bluetoothLEDevice.deviceId;
Public ReadOnly Property DeviceId As String

Property Value

String

Platform::String

winrt::hstring

The Id of the device.

Windows requirements

App capabilities
bluetooth

Applies to