WiFiDirectDevice.GetDeviceSelector WiFiDirectDevice.GetDeviceSelector WiFiDirectDevice.GetDeviceSelector WiFiDirectDevice.GetDeviceSelector WiFiDirectDevice.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Returns the class selection string that you can use to enumerate Wi-Fi Direct devices.

GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType)

Returns the class selection string that you can use to enumerate Wi-Fi Direct devices for a specific Wi-Fi Direct device selector type.

GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector() GetDeviceSelector()

Returns the class selection string that you can use to enumerate Wi-Fi Direct devices.

public : static Platform::String GetDeviceSelector()
static winrt::hstring GetDeviceSelector() const;
public static string GetDeviceSelector()
Public Shared Function GetDeviceSelector() As string
var string = Windows.Devices.WiFiDirect.WiFiDirectDevice.getDeviceSelector();
Returns
string string string

The class selection string that you can use to enumerate Wi-Fi Direct devices.

Remarks

This method only returns Wi-Fi Direct device interfaces.

See Also

GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType) GetDeviceSelector(WiFiDirectDeviceSelectorType)

Returns the class selection string that you can use to enumerate Wi-Fi Direct devices for a specific Wi-Fi Direct device selector type.

public : static Platform::String GetDeviceSelector(WiFiDirectDeviceSelectorType type)
static winrt::hstring GetDeviceSelector(WiFiDirectDeviceSelectorType type) const;
public static string GetDeviceSelector(WiFiDirectDeviceSelectorType type)
Public Shared Function GetDeviceSelector(type As WiFiDirectDeviceSelectorType) As string
var string = Windows.Devices.WiFiDirect.WiFiDirectDevice.getDeviceSelector(type);
Parameters
Returns
string string string

The class selection string that you can use to enumerate Wi-Fi Direct devices.

Remarks

This method will return either Wi-Fi Direct device interfaces or associated endpoints for PCs, tablets, and phones that support Wi-Fi Direct depending on the value of the type parameter.

See Also