WindowsBlueToothLEMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsBlueToothLEMBS class.

WindowsBlueToothLEMBS.Available as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Bluetooth MBS Bluetooth Plugin 18.1 ❌ No ✅ Yes ❌ No ❌ No All
Whether this classes are available.

Should return true on Windows 8 and later versions of Windows.

WindowsBlueToothLEMBS.DevicePathsForClassGUID(GUID as string) as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Bluetooth MBS Bluetooth Plugin 18.1 ❌ No ✅ Yes ❌ No ❌ No All
Queries installation database for devices.
Example
dim paths() as String = WindowsBlueToothLEMBS.DevicePathsForClassGUID("{0000180D-0000-1000-8000-00805F9B34FB}")

List.DeleteAllRows
if paths = nil then
list.AddRow "Failed."
else
for each path as string in paths
List.AddRow path
next
end if

This is a helper method in MBS Plugin to query setup database to find the paths to devices with a given GUID.

Pass in the GUID of the device, e.g. "{0000180D-0000-1000-8000-00805F9B34FB}"

Some examples using this method:

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


💬 Ask a question or report a problem