Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


USB.GetSerialNumber - USB.GetVendorName

Feedback: Report problem or ask question.