Class Library Documentation for Neo smartpen SDK
BluetoothAdapterConnect Method |
Connects the client to a remote Bluetooth host using the specified mac address and OnConnected handler.
Namespace: Neosmartpen.Net.Bluetooth
Assembly: Neosmartpen.Net (in Neosmartpen.Net.dll) Version: 2.1.13.0 (2.1.13)
Syntax
C#
public bool Connect( string mac, BluetoothAdapterOnConnected handler )
Parameters
- mac
- Type: SystemString
The mac address of the remote host. - handler
- Type: Neosmartpen.Net.BluetoothBluetoothAdapterOnConnected
The delegate to handle connecting event.
Return Value
Type: Booleantrue if the BluetoothAdapter was connected to a remote resource; otherwise, false.
See Also