Share via


SerialDevice.UsbProductId Property

Definition

Gets the idProduct field of the USB device descriptor. This value indicates the device-specific product identifier and is assigned by the manufacturer.

public:
 property unsigned short UsbProductId { unsigned short get(); };
uint16_t UsbProductId();
public ushort UsbProductId { get; }
var uInt16 = serialDevice.usbProductId;
Public ReadOnly Property UsbProductId As UShort

Property Value

UInt16

unsigned short

uint16_t

The device-defined product identifier.

Applies to