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

USB.GetSerialNumber

Queries the serial number 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.GetSerialNumber"; index )   More

Parameters

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

Result

The serial number, e.g. "J678234".

Description

Queries the serial number of an USB device.
Please call USB.Count before you use this function.

Examples

Query serial of first USB device:

MBS( "USB.GetSerialNumber"; 0 )

See also

Example Databases

This function checks for a license.

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


USB.GetProductName - USB.GetVendorID