Set or change the PIN to be used with a specific remote device.
| C# | Visual Basic |
public void SetPin( BluetoothAddress device, string pin )
Public Sub SetPin ( _ device As BluetoothAddress, _ pin As String _ )
- device (BluetoothAddress)
- Address of Bluetooth device.
- pin (String)
- PIN string consisting of 1 to 16 ASCII characters.
Assigning null (Nothing in VB) or an empty String will revoke the PIN.