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 |
---|---|---|
System.ReadOnlyMemory<System.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. |
System.ReadOnlyMemory<System.Byte> | newPin | The new PIN to set, represented as bytes. |