ChangePin Method
ChangePin()
Change the PIN, throw an exception if the user cancels.
C#
public void ChangePin()
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 TryChangePin
, except this method will
throw an exception if the KeyCollector
indicates user
cancellation.
See the TryChangePin() method for further documentation on this method.