BlueLibs documentation

BtDevice.ConnectToService Method 

Connects to a service exported by the device. This will establish physical connection with the device. If authorizations is required OnDeviceAuthRequest event will be fired.

[Visual Basic]
Overrides Public Function ConnectToService( _
   ByVal ServiceID As Guid _
) As ClientConnection
[C#]
public override ClientConnection ConnectToService(
   Guid ServiceID
);

Parameters

ServiceID
UUID of the service to connect to

Return Value

ClientConnection created for this service

See Also

BtDevice Class | BlueLibs.BlueTooth Namespace