Retrieves the address of the Bluetooth peer device authentication that requires the PIN code.
Not supported on Windows XP
| C# | Visual Basic |
public static BluetoothAddress GetPinRequest()
Public Shared Function GetPinRequest As BluetoothAddress
BluetoothAddress of the remote device, or null if there is no outstanding PIN request.
On Windows CE platforms this calls BthGetPINRequest, its MSDN remarks say:
“There can be multiple requests outstanding. After the event that is provided by the UI handler is signaled, the UI handler must call this function multiple times until the call fails.”
See also RefusePinRequest(BluetoothAddress) and AnswerPinRequest(BluetoothAddress, String)