DeleteCommand Class
Namespace: Yubico.YubiKey.Oath.Commands Assembly: Yubico.YubiKey.dllDeletes an existing credential.
C#
public class DeleteCommand : Object, IYubiKeyCommand<DeleteResponse>
Inheritance
System.Object
DeleteCommand
Implements
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. |