API Reference

GetUSBSerialNumber

Description

Gets the serial number of a USB key on the specified path. If the path does not point to a USB, an empty string is returned.

string GetUSBSerialNumber (string path)

Parameters

ParameterTypeDescription
pathstringpath of a file or folder on the USB key

Return

TypeDescription
stringreturn the serial number of a USB key