Jaa


LampArray.GetDeviceSelector Method

Definition

Retrieves an Advanced Query Syntax (AQS) string encompassing all LampArray devices on the system.

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

Returns

String

Platform::String

winrt::hstring

An AQS string encompassing all LampArray devices on the system.

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Remarks

You can use this string with the DeviceInformation.FindAllAsync method or DeviceWatcher to get DeviceInformation objects for those LampArrays

Applies to

See also