In The Hand - .NET Components for Mobility
PreviousNativeErrorCode Property
NamespacesInTheHand.Net.BluetoothBluetoothWin32AuthenticationEventArgsPreviousNativeErrorCode
The Windows error code returned by the last PIN response attempt.
Declaration Syntax
C#Visual Basic
public int PreviousNativeErrorCode { get; }
Public ReadOnly Property PreviousNativeErrorCode As Integer
Remarks

A bad PIN/passcode value appears to result in a error code with value 1244, which is NativeErrorNotAuthenticated.

If one tries to respond to that failure with another passcode, then error 1167 NativeErrorDeviceNotConnected results. So it seems that only one attempt is possible.

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