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

path

string

path of a file or folder on the USB key

Return

TypeDescription

string

return the serial number of a USB key

Last updated