SetPinCommand Constructor
SetPinCommand(ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)
Constructs an instance of the SetPinCommand class.
C#
public SetPinCommand(ReadOnlyMemory<byte> currentPin, ReadOnlyMemory<byte> newPin)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyMemory<byte> | currentPin | The PIN currently required to use the U2F application on this YubiKey, represented as bytes. If there is no current PIN, pass in an Empty value. |
ReadOnlyMemory<byte> | newPin | The new PIN to set, represented as bytes. |