Show / Hide Table of Contents

SetFixedData Method

SetFixedData(ReadOnlySpan<byte>)

A fixed data field used to set any static configuration content.

C#
public void SetFixedData(ReadOnlySpan<byte> fixedData)

Parameters

Type Name Description
ReadOnlySpan<byte> fixedData

Exceptions

Type Condition
ArgumentException

Thrown if the length of the contents of parameter fixedData is greater than Yubico.YubiKey.Otp.Commands.SlotConfigureBase.FixedDataLength.

Remarks

For static passwords, this is also used as part of the password.

In this article
Back to top Generated by DocFX