SwapSlotsCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllSwaps the configurations in the short and long press slots.
C#
public class SwapSlotsCommand : Object, IYubiKeyCommand<ReadStatusResponse>
Inheritance
System.Object
SwapSlotsCommand
Implements
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. |