Click or drag to resize

wclBluetoothManager Class

The Bluetooth Manager component.
Inheritance Hierarchy

Namespace:  wclBluetooth
Assembly:  wclBluetoothFramework (in wclBluetoothFramework.dll) Version: (
public class wclBluetoothManager

The wclBluetoothManager type exposes the following members.

Public methodwclBluetoothManager
Creates a new Bluetooth Manager component.
Public propertyActive
Gets the Bluetooth Manager state.
Public propertyCount
Gets the number of available Bluetooth Radios.
Public propertyItem
Gets the Bluetooth Radio by its index.
Public methodClose
Closes the Bluetooth Manager and releases all allocated resources.
Protected methodDoAfterOpen
Fires the AfterOpen event.
Protected methodDoAuthenticationCompleted
Fires the OnAuthenticationCompleted event.
Protected methodDoBeforeClose
Fires the BeforeClose event.
Protected methodDoConfirm
Fires the OnConfirm event.
Protected methodDoDeviceFound
Fires the OnDeviceFound event.
Protected methodDoDiscoveringCompleted
Fires the OnDiscoveringCompleted event.
Protected methodDoDiscoveringStarted
Fires the OnDiscoveringStarted event.
Protected methodDoIoCapabilityRequest
Fires the OnIoCapabilityRequest event.
Protected methodDoNumericComparison
Fires the OnNumericComparison event.
Protected methodDoOobDataRequest
Fires the OnOobDataRequest event.
Protected methodDoPasskeyNotification
Fores the OnPasskeyNotification event.
Protected methodDoPasskeyRequest
Fires the OnPasskeyRequest event.
Protected methodDoPinRequest
Fires the OnPinRequest event.
Protected methodDoStatusChanged
Fires the OnStatusChanged event.
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Free the Bluetooth Manager
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpen
Opens the Bluetooth Manager and allocated required hardware resources.
Public methodToString (Inherited from Object.)
Public eventAfterOpen
The event fires after the Bluetooth Manager has been successfuly opened.
Public eventBeforeClose
The event fires before the Bluetooth Manager will be closed.
Public eventOnAuthenticationCompleted
The event fires when authentication (pairing) with a remote Bluetooth device has completed.
Public eventOnConfirm
The event fires when a remote Bluetooth device requires a pairing confirmation.
Public eventOnDeviceFound
The event fires when a new remote Bluetooth device found during discovering.
Public eventOnDiscoveringCompleted
The event fires when discovering for remote Bluetooth devices has been completed.
Public eventOnDiscoveringStarted
The event fires when discovering for remote Bluetooth devices has been started.
Public eventOnIoCapabilityRequest
The event fires when a remote device requests an IO capability of the local Bluetooth device.
Public eventOnNumericComparison
The event fires when a remote Bluetooth device requires a numeric comparison pairing.
Public eventOnOobDataRequest
The veen tfires when a remote device requests an Out Of Band pairing data.
Public eventOnPasskeyNotification
The event fires when a remote Bluetooth device notifies an application about its passkey.
Public eventOnPasskeyRequest
The event fires when a remote Bluetooth device requires a passkey for pairing.
Public eventOnPinRequest
The event fires when a remote Bluetooth device requires a legacy PIN pairing.
Public eventOnStatusChanged
The event fires when a status of a Bluetooth hardware or driver has been changed.

The TwclBluetoothManager is the main component of the Bluetooth Framework. Each application that uses the Bluetooth Framework must have one and only one active instance of the Bluetooth Manager.

This component must be created and opened in an application's main thread only.

See Also