VerifyPin Method
VerifyPin()
Verify the PIN, throw an exception if the user cancels.
C#
public void VerifyPin()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | There is no |
System.OperationCanceledException | The user canceled PIN collection. |
System.Security.SecurityException | The remaining retries count indicates the PIN is blocked. |
Remarks
This is the same as TryVerifyPin
, except this method will
throw an exception if the KeyCollecter
indicates user
cancellation.
See the TryVerifyPin() method for further documentation on this method.