Share via


DialDevice.GetDeviceSelector(String) Method

Definition

Returns an AQS filter string to be used with the Windows.Devices.Enumeration APIs (such as the CreateWatcher API) for a given Dial app.

public:
 static Platform::String ^ GetDeviceSelector(Platform::String ^ appName);
 static winrt::hstring GetDeviceSelector(winrt::hstring const& appName);
public static string GetDeviceSelector(string appName);
function getDeviceSelector(appName)
Public Shared Function GetDeviceSelector (appName As String) As String

Parameters

appName
String

Platform::String

winrt::hstring

The name of the app.

Returns

String

Platform::String

winrt::hstring

The AQS filter.

Applies to