Slot Class

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

An identifier for the configurable OTP slots.

C#
public sealed class Slot : Enum
Inheritance System.Object Slot

Fields

Name Description
LongPress

Refers to the configuration slot that is activated by a longer duration touch of the YubiKey. This is also sometimes referred to as "Slot 2".

None

This is the default state for the Slot enumeration. If an operation is requested that requires a slot, this value will cause an exception.

ShortPress

Refers to the configuration slot that is activated by a short duration touch of the YubiKey. This is also sometimes referred to as "Slot 1".

value__
Generated by DocFX