Show / Hide Table of Contents

EchoCommand Class

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

Sends data to the YubiKey which immediately echoes the same data back.

C#
public sealed class EchoCommand : IYubiKeyCommand<EchoResponse>
Inheritance object EchoCommand
Implements
IYubiKeyCommand<EchoResponse>

Remarks

This command is defined to be a uniform function for debugging, latency, and performance measurements.

Behavior for Data larger than 1024 bytes is undefined.

Constructors

Name Description
EchoCommand()

Constructs an instance of the EchoCommand class.

EchoCommand(ReadOnlyMemory<byte>)

Constructs an instance of the EchoCommand class with the data to send to the YubiKey.

Properties

Name Description
Application

The YubiKeyApplication to which this command belongs.

Data

The data to send to the YubiKey.

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