ConfigureNdefCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllApplies 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 : Object, IYubiKeyCommand<ReadStatusResponse>
Inheritance
System.Object
ConfigureNdefCommand
Implements
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. |