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:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
USB.Count
Queries all USB Devices and returns the number of found devices.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
USB | 2.4 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No | Free |
MBS( "USB.Count" )
Parameters
none
Result
The number of devices found.
Description
Queries all USB Devices and returns the number of found devices.This function must be called before all the other USB functions to initialize the plugin and to refresh the USB device list.
Examples
Query number of devices
MBS( "USB.Count" )
See also
- USB.FindDevice
- USB.FindSerialNumber
- USB.GetProductID
- USB.GetProductName
- USB.GetSerialNumber
- USB.GetVendorID
- USB.GetVendorName
Example Databases
Created 18th August 2014, last changed 18th August 2014
URLScheme.SetDefaultHandler - USB.FindDevice
Feedback: Report problem or ask question.
