Show / Hide Table of Contents

DeleteSlotCommand Class

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

Command to delete an OTP slot configuration.

C#
public class DeleteSlotCommand : SlotConfigureBase, IYubiKeyCommand<ReadStatusResponse>
Inheritance object SlotConfigureBase DeleteSlotCommand
Implements
IYubiKeyCommand<ReadStatusResponse>

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

Name Description
CalculateCrc

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

LongPressCode

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

ShortPressCode

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

In this article
Back to top Generated by DocFX