Show / Hide Table of Contents

ConfigureNdefCommand Class

Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dll

Applies a configuration to one of the two configurable NDEF slots. Note that only the primary NDEF slot (Slot.ShortPress) is accessible through NFC.

C#
public class ConfigureNdefCommand : IYubiKeyCommand<ReadStatusResponse>
Inheritance object ConfigureNdefCommand
Implements
IYubiKeyCommand<ReadStatusResponse>

Constructors

Name Description
ConfigureNdefCommand(Slot, ReadOnlySpan<byte>)

Constructs an instance of the ConfigureNdefCommand class.

ConfigureNdefCommand(Slot, ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Constructs an instance of the ConfigureNdefCommand class for a slot which is protected by an access code.

Fields

Name Description
AccessCodeLength

The required size for the AccessCode buffer.

Properties

Name Description
Application

Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies.

Methods

Name Description
CreateCommandApdu()

Creates a well-formed CommandApdu to send to the YubiKey.

CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX