Show / Hide Table of Contents

GetProtocolVersionCommand Class

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

Get the U2F protocol version implemented by the application.

C#
public sealed class GetProtocolVersionCommand : IYubiKeyCommand<GetProtocolVersionResponse>
Inheritance object GetProtocolVersionCommand
Implements
IYubiKeyCommand<GetProtocolVersionResponse>

Remarks

The partner Response class is GetProtocolVersionResponse.

Constructors

Name Description
GetProtocolVersionCommand()

Constructs an instance of the GetProtocolVersionCommand class.

Properties

Name Description
Application

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