Show / Hide Table of Contents

SetCardId Method

SetCardId(ReadOnlySpan<byte>)

Set the CardIdentifier with the given value. If the array is not exactly 14 bytes, this method will throw an exception.

C#
public void SetCardId(ReadOnlySpan<byte> cardIdValue)

Parameters

Type Name Description
ReadOnlySpan<byte> cardIdValue

The CardId to use.

Exceptions

Type Condition
ArgumentException

The data is not exactly 14 bytes.

Remarks

If there is a CardId value already in this object, this method will overwrite it.

In this article
Back to top Generated by DocFX