Show / Hide Table of Contents

DeleteCommand Class

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

Deletes an existing credential.

C#
public class DeleteCommand : IYubiKeyCommand<DeleteResponse>
Inheritance object DeleteCommand
Implements
IYubiKeyCommand<DeleteResponse>

Constructors

Name Description
DeleteCommand()

Constructs an instance of the DeleteCommand class.

DeleteCommand(Credential)

Constructs an instance of the DeleteCommand class.

Properties

Name Description
Application

Gets the YubiKeyApplication to which this command belongs.

Credential

The credential to delete.

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