Show / Hide Table of Contents

ReadNdefDataCommand Class

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

Reads the NDEF data over an NFC connection to the YubiKey.

C#
public class ReadNdefDataCommand : IYubiKeyCommand<ReadNdefDataResponse>
Inheritance object ReadNdefDataCommand
Implements
IYubiKeyCommand<ReadNdefDataResponse>

Remarks

The NDEF data file must be selected first using the SelectNdefDataCommand class.

This command will only succeed if the YubiKey is connected through an NFC reader. It will not work over CCID if plugged in by USB or EAP.

Constructors

Name Description
ReadNdefDataCommand()

Initializes a new instance of the ReadNdefDataCommand class.

Properties

Name Description
Application

Gets the YubiKeyApplication to which this command belongs.

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