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