Class UpdateSlotCommand
Applies a subset of configurable flags to one of the two OTP slots.
public class UpdateSlotCommand : SlotConfigureBase, IYubiKeyCommand<ReadStatusResponse>
- Inheritance
-
objectUpdateSlotCommand
- Implements
- Inherited Members
Properties
ConfigurationFlags
Flags that define the mode and other configurable options for this slot.
public override ConfigurationFlags ConfigurationFlags { get; set; }
Property Value
Remarks
Use10msPacing | |
Use20msPacing |
Exceptions
- InvalidOperationException
Thrown if an invalid flag set is specified.
ExtendedFlags
Extended flags that control behaviors on either a slot or global basis.
public override ExtendedFlags ExtendedFlags { get; set; }
Property Value
Remarks
AllowUpdate | |
Dormant | |
FastTrigger | |
InvertLed | |
SerialNumberApiVisible | |
SerialNumberButtonVisible | |
SerialNumberUsbVisible | |
UseNumericKeypad |
The AllowUpdate flag must be present if the slot is to remain updatable. Failure to set this flag will effectively make the configuration read-only, until a brand new, unrelated configuration overwrites it.
Exceptions
- InvalidOperationException
Thrown if an invalid flag set is specified.
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
TicketFlags
Flags that control the output format of the text returned by the YubiKey button press.
public override TicketFlags TicketFlags { get; set; }
Property Value
Remarks
Exceptions
- InvalidOperationException
Thrown if an invalid flag set is specified.