ReadNdefDataCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllReads the NDEF data over an NFC connection to the YubiKey.
C#
public class ReadNdefDataCommand : Object, IYubiKeyCommand<ReadNdefDataResponse>
Inheritance
System.Object
ReadNdefDataCommand
Implements
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. |