GetProtocolVersionCommand Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllGet the U2F protocol version implemented by the application.
C#
public sealed class GetProtocolVersionCommand : Object, IYubiKeyCommand<GetProtocolVersionResponse>
Inheritance
System.Object
GetProtocolVersionCommand
Implements
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. |