Show / Hide Table of Contents

ExtendedFlags Struct

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

Extended properties and configuration settings.

C#
public struct ExtendedFlags

Fields

Name Description
AllowUpdate

Allows certain non-security related flags to be modified after the configuration has been written.

Dormant

Allows a configuration to be stored without being accessible.

FastTrigger

Causes the trigger action of the YubiKey button to become faster.

InvertLed

Inverts the configured state of the LED.

None

No extended flags are requested for this configuration.

SerialNumberApiVisible

Allows the serial number to be read by proprietary means, including being visible to the Yubico.YubiKey SDK.

SerialNumberButtonVisible

Allows the serial number to be retrieved by holding the touch button while inserting the device into the USB port.

SerialNumberUsbVisible

Makes the serial number appear in the YubiKey's USB descriptor's iSerialNumber field.

UseNumericKeypad

Causes numeric characters to be sent as keystrokes from the numeric keypad rather than the normal numeric keys on an 84-key keyboard.

Methods

Name Description
ValidateFlagsForUpdate()

Ensure that no flags are set that cannot be used to update an existing configuration.

Operators

Name Description
implicit operator ExtendedFlags(byte)

Implicitly convert a byte to a ExtendedFlags object.

implicit operator byte(ExtendedFlags)

Implicitly convert ExtendedFlags to a byte.

In this article
Back to top Generated by DocFX