Show / Hide Table of Contents

ResetCommand Class

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

Resets the YubiKey's OATH application back to a factory default state.

C#
public class ResetCommand : IYubiKeyCommand<OathResponse>
Inheritance object ResetCommand
Implements
IYubiKeyCommand<OathResponse>

Constructors

Name Description
ResetCommand()

Constructs an instance of the ResetCommand 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