Share via


BluetoothAdapter.DeviceId Property

Definition

Gets the device ID.

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = bluetoothAdapter.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