Show / Hide Table of Contents

SetLegacyDeviceConfigBase Constructor

SetLegacyDeviceConfigBase(YubiKeyCapabilities, byte, bool, int)

Initializes a new instance of the SetLegacyDeviceConfigBase class.

C#
protected SetLegacyDeviceConfigBase(YubiKeyCapabilities yubiKeyInterfaces, byte challengeResponseTimeout, bool touchEjectEnabled, int autoEjectTimeout)

Parameters

Type Name Description
YubiKeyCapabilities yubiKeyInterfaces

Value for YubiKeyInterfaces.

byte challengeResponseTimeout

Value for ChallengeResponseTimeout.

bool touchEjectEnabled

Value for TouchEjectEnabled.

int autoEjectTimeout

Value for AutoEjectTimeout.

Exceptions

Type Condition
ArgumentException

Thrown if yubiKeyInterfaces contains unsupported flags.

ArgumentOutOfRangeException

Thrown when autoEjectTimeout is out of the valid range.

Remarks

This command sends all configuration settings every time. Therefore all values must be provided every time.

SetLegacyDeviceConfigBase(SetLegacyDeviceConfigBase)

Copy constructor.

C#
protected SetLegacyDeviceConfigBase(SetLegacyDeviceConfigBase baseCommand)

Parameters

Type Name Description
SetLegacyDeviceConfigBase baseCommand

The SetLegacyDeviceConfig base command object to copy from.

Remarks

Intended to be used by child classes to make it easier to convert into a different application-specific command.

In this article
Back to top Generated by DocFX