Platforms to show: All Mac Windows Linux Cross-Platform

Back to MacUSBNotificationMBS class.

MacUSBNotificationMBS.GetUSBDeviceInfo(DeviceHandle as Integer, byref Vendor as string, byref Product as string, byref SerialNumber as string, byref Revision as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Queries USB details for a given handle.

This is a convenience function to query details on the devices found within the events.
Returns true on success.

MacUSBNotificationMBS.QueryBSDName(DeviceHandle as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Function to query BSDName of a given device.

If the device is a disk or USB stick and has been mounted, this would give the bsd name of the disk.
Returns "" on any error.

MacUSBNotificationMBS.Release(DeviceHandle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Releases an object reference when you don't need it any longer.

Please call Retain and Release in pairs.
Does nothing if handle is zero or when called on Linux/Windows.

MacUSBNotificationMBS.Retain(DeviceHandle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method USB MBS USB Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Retains an object reference so it is available later.

Please call Retain and Release in pairs.
Does nothing if handle is zero or when called on Linux/Windows.

The items on this page are in the following plugins: MBS USB Plugin.


The biggest plugin in space...