WiFiDirectDevice.DeviceId 属性

定义

获取 Wi-Fi Direct 设备的 DeviceInformation ID

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

属性值

String

Platform::String

winrt::hstring

Wi-Fi Direct 设备的 DeviceInformation ID

适用于

另请参阅