Aracılığıyla paylaş


LampArray.HardwareProductId Property

Definition

The hardware product Id of the underlying device.

public:
 property unsigned short HardwareProductId { unsigned short get(); };
uint16_t HardwareProductId();
public ushort HardwareProductId { get; }
var uInt16 = lampArray.hardwareProductId;
Public ReadOnly Property HardwareProductId As UShort

Property Value

UInt16

unsigned short

uint16_t

The hardware product Id.

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.

Applies to

See also