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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem