Udostępnij za pośrednictwem


WiFiDirectDevice.GetDeviceSelector Method

Definition

Overloads

GetDeviceSelector()

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

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()

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

public:
 static Platform::String ^ GetDeviceSelector();
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector();
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector();
function getDeviceSelector()
Public Shared Function GetDeviceSelector () As String

Returns

String

Platform::String

winrt::hstring

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

Attributes

Remarks

This method only returns Wi-Fi Direct device interfaces.

See also

Applies to

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);
/// [Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
 static winrt::hstring GetDeviceSelector(WiFiDirectDeviceSelectorType const& type);
[Windows.Foundation.Metadata.Overload("GetDeviceSelector")]
public static string GetDeviceSelector(WiFiDirectDeviceSelectorType type);
function getDeviceSelector(type)
Public Shared Function GetDeviceSelector (type As WiFiDirectDeviceSelectorType) As String

Parameters

type
WiFiDirectDeviceSelectorType

A specific Wi-Fi Direct device selector type.

Returns

String

Platform::String

winrt::hstring

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

Attributes

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

Applies to