USB.FindSerialNumber
--------------------

Searches the USB device list for a device with the given serial number.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [USB](component_USB.md) | [2.4](newinversion24.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "USB.FindSerialNumber"; SerialNumber ) 

**MBS**( **"USB.FindSerialNumber";** /\* Searches the USB device list for a device with the given serial number. \*/  
**$SerialNumber**) /\* The serial number to search for.e.g. "8JA4A2X4UECLJA12" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SerialNumber | The serial number to search for. | "8JA4A2X4UECLJA12" |

### Result

The index of the device found.

### Description

Searches the USB device list for a device with the given serial number.  
Please call [USB.Count](USBCount.md) before you use this function.  
### See also

- [USB.Count](USBCount.md)
- [USB.GetSerialNumber](USBGetSerialNumber.md)

### Example Databases

- [Utility functions/USB Devices](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Utility%20functions/USB%20Devices.shtml#5ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[USB.FindDevice](USBFindDevice.md) - [USB.GetProductID](USBGetProductID.md)

[HTML Version](USBFindSerialNumber.shtml)