Initializes a new instance of the BluetoothWin32Authentication class,
to respond to a specific address with a specific PIN string.
| C# | Visual Basic |
public BluetoothWin32Authentication( BluetoothAddress remoteAddress, string pin )
Public Sub New ( _ remoteAddress As BluetoothAddress, _ pin As String _ )
- remoteAddress (BluetoothAddress)
- The address of the device to authenticate, as a BluetoothAddress.
The instance will continue receiving authentication requests until it is disposed or garbage collected, so keep a reference to it whilst it should be active, and call Dispose()()() when you’re finished.