Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

USB.GetProductID

Queries the product ID of an USB device.

Component Version macOS Windows Linux Server iOS SDK
USB 2.4 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "USB.GetProductID"; index )   More

Parameters

Parameter Description Example
index The index in the USB device table. 0

Result

The product ID, e.g. 772.

Description

Queries the product ID of an USB device.
Please call USB.Count before you use this function.

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


USB.FindSerialNumber - USB.GetProductName