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


Finds USB devices.

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


Parameter Description Example
VendorID The vendor ID of the device to find. Typically a number between 1 and 65535. 1452
ProductID The product ID of the device. Typically a number between 1 and 65535. 545


The index of the device in our USB device list.


Finds USB devices.
Please call USB.Count before you use this function. Pass IDs for vendor and product. e.g. Apple has vendor ID 1452 (hex 05ac). An Apple keyboard can have a product ID of 545 (hex 0221). Please note that product and vendor IDs are shown usually as hexadecimal values.


Find a device and query it's product name:

$count = MBS( "USB.Count" )
$index = MBS( "USB.FindDevice"; $VendorID; $ProductID )
$name = MBS( "USB.GetProductName"; $index )

See also

Example Databases

This function checks for a license.

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

USB.Count - USB.FindSerialNumber