Table of Contents

Class DeleteSlotCommand

Namespace
Yubico.YubiKey.Otp.Commands
Assembly
Yubico.YubiKey.dll

Command to delete an OTP slot configuration.

public class DeleteSlotCommand : SlotConfigureBase, IYubiKeyCommand<ReadStatusResponse>
Inheritance
object
DeleteSlotCommand
Implements
Inherited Members

Remarks

The purpose of this command is to build a completely empty APDU (except for a security code, if the slot has one). This is what tells the YubiKey to delete the OTP slot configuration.

Properties

CalculateCrc

Allows the command to indicate whether to calculate the CRC for the buffer.

protected override bool CalculateCrc { get; }

Property Value

bool

LongPressCode

The code to use for indicating the long-press OTP slot.

protected override byte LongPressCode { get; }

Property Value

byte

ShortPressCode

The code to use for indicating the short-press OTP slot.

protected override byte ShortPressCode { get; }

Property Value

byte