Table of Contents

Class YubiKeyFlags

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

The three YubiKey OTP flags collected in one class.

public class YubiKeyFlags
Inheritance
object
YubiKeyFlags

Properties

Configuration

A byte containing the flags from ConfigurationFlagsl

public byte Configuration { get; set; }

Property Value

byte

Extended

A byte containing the flags from ExtendedFlagsl

public byte Extended { get; set; }

Property Value

byte

Ticket

A byte containing the flags from TicketFlagsl

public byte Ticket { get; set; }

Property Value

byte

Operators

implicit operator ConfigurationFlags(YubiKeyFlags)

Implicitly extract ConfigurationFlags from a YubiKeyFlags object.

public static implicit operator ConfigurationFlags(YubiKeyFlags flags)

Parameters

flags YubiKeyFlags

YubiKeyFlags object containing flags.

Returns

ConfigurationFlags

implicit operator ExtendedFlags(YubiKeyFlags)

Implicitly extract ExtendedFlags from a YubiKeyFlags object.

public static implicit operator ExtendedFlags(YubiKeyFlags flags)

Parameters

flags YubiKeyFlags

YubiKeyFlags object containing flags.

Returns

ExtendedFlags

implicit operator TicketFlags(YubiKeyFlags)

Implicitly extract TicketFlags from a YubiKeyFlags object.

public static implicit operator TicketFlags(YubiKeyFlags flags)

Parameters

flags YubiKeyFlags

YubiKeyFlags object containing flags.

Returns

TicketFlags