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

USB.GetVendorID

Queries the vendor 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.GetVendorID"; index )   More

Parameters

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

Result

The vendor ID, e.g. 1452.

Description

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

Examples

Query vendor ID of first USB device:

MBS( "USB.GetVendorID"; 0 )

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 17th May 2016


USB.GetSerialNumber - USB.GetVendorName