SetPinRetriesCommand Constructor
SetPinRetriesCommand(Byte, Byte)
Initializes a new instance of the SetPinRetriesCommand class. This command takes the PIN and PUK retry counts as input.
C#
public SetPinRetriesCommand(byte pinRetryCount, byte pukRetryCount)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | pinRetryCount | The new number of retries for the PIN (minimum 1, maximum 255). |
System.Byte | pukRetryCount | The new number of retries for the PUK (minimum 1, maximum 255). |
Remarks
The retry count must be a value from 1 to 255 (inclusive).
SetPinRetriesCommand()
Initializes a new instance of the SetPinRetriesCommand
class.
This command will set the PinRetryCount
and
PukRetryCount
to the default count of 3.
C#
public SetPinRetriesCommand()
Remarks
This constructor is provided for those developers who want to use the object initializer pattern. For example:
var command = new SetPinRetriesCommand()
{
PinRetryCount = 5,
PukRetryCount = 2,
};