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
System.ReadOnlySpan<System.Byte> cardIdValue

The CardId to use.

Exceptions

Type Condition
System.ArgumentException

The data is not exactly 14 bytes.

Remarks

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

Generated by DocFX