In The Hand
RevokePin Method (device)
NamespacesInTheHand.Net.BluetoothBluetoothSecurityRevokePin(BluetoothAddress)
.NET Components for Mobility
This function revokes the personal identification number (PIN) for the Bluetooth device.
Declaration Syntax
C#Visual Basic
public static bool RevokePin(
	BluetoothAddress device
)
Public Shared Function RevokePin ( _
	device As BluetoothAddress _
) As Boolean
Parameters
device (BluetoothAddress)
The remote device.
Return Value
True on success, else False.
Remarks

On Windows CE platforms this calls BthRevokePIN, its MSDN remarks say:

“When the PIN is revoked, it is removed from registry. The active connection to the device is not necessary, nor is the presence of the Bluetooth controller.”

On Windows CE platforms this removes any pending BluetoothWin32Authentication object but does not remove the PIN for an already authenticated device. Use RemoveDevice to ensure a pairing is completely removed.

See also SetPin(BluetoothAddress, String)

See Also

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0