> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/api-reference/.net-api/iqlmhardware/getusbserialnumber-1.md).

# 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.

```csharp
string GetUSBSerialNumber (string path)
```

### Parameters

| Parameter |  Type  | Description                             |
| --------- | :----: | --------------------------------------- |
| path      | string | path of a file or folder on the USB key |

### Return

| Type   | Description                           |
| ------ | ------------------------------------- |
| string | return the serial number of a USB key |
