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 |
ArgumentOutOfRangeException | Thrown when |
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.