Share via


GattDeviceService.DeviceId Property

Definition

Get the string that represents the GATT service instance path used to instantiate the GattDeviceService.

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

Property Value

String

Platform::String

winrt::hstring

String that represents the GATT service instance path used to instantiate the GattDeviceService.

Windows requirements

App capabilities
bluetooth

Applies to