Show / Hide Table of Contents

SwapSlotsCommand Class

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

Swaps the configurations in the short and long press slots.

C#
public class SwapSlotsCommand : IYubiKeyCommand<ReadStatusResponse>
Inheritance object SwapSlotsCommand
Implements
IYubiKeyCommand<ReadStatusResponse>

Constructors

Name Description
SwapSlotsCommand()

Constructs a new instance of the SwapSlotsCommand 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