Show / Hide Table of Contents

VerifyTemporaryPinCommand Constructor

VerifyTemporaryPinCommand(ReadOnlyMemory<byte>)

Initializes a new instance of the VerifyTemporaryPinCommand class which will use the given temporary PIN.

C#
public VerifyTemporaryPinCommand(ReadOnlyMemory<byte> temporaryPin)

Parameters

Type Name Description
ReadOnlyMemory<byte> temporaryPin

The temporary Pin.

Exceptions

Type Condition
ArgumentException

The PIN is an invalid length.

Remarks

In order to verify a temporary PIN, the caller must supply the temporary PIN. In this class, the temporary PIN is supplied as ReadOnlyMemory<byte>. It is possible to pass a byte[], because it will be automatically cast.

This class will copy references to the temporary PIN (not the values. This means that you can overwrite the temporary PIN in your byte array only after this class is done with it. It will no longer need the temporary PIN after calling connection.SendCommand.

A temporary PIN is 16 bytes long.

In this article
Back to top Generated by DocFX