Table of Contents

Enum DeviceFlags

Namespace
Yubico.YubiKey
Assembly
Yubico.YubiKey.dll

Miscellaneous flags representing various settings available on the YubiKey.

[Flags]
public enum DeviceFlags

Fields

None = 0

No device flags are set.

RemoteWakeup = 64

USB remote wakeup is enabled.

TouchEject = 128

The CCID touch-eject feature is enabled.

For the CCID connection, the YubiKey behaves as a smart card reader and smart card. When this flag is disabled, the smart card is always present in the smart card reader. When enabled, the smart card will be ejected by default, and the user is required to touch the YubiKey to insert the smart card. For this to take effect, all YubiKeyCapabilities which do not depend on the CCID connection (such as Fido2, FidoU2f, and Otp) must be disabled.

To automatically eject the smart card following a touch, see AutoEjectTimeout.

See Also