SetLegacyDeviceConfigBase Constructor
SetLegacyDeviceConfigBase(YubiKeyCapabilities, Byte, Boolean, Int32)
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. |
System.Byte | challengeResponseTimeout | Value for ChallengeResponseTimeout. |
System.Boolean | touchEjectEnabled | Value for TouchEjectEnabled. |
System.Int32 | autoEjectTimeout | Value for AutoEjectTimeout. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown if |
System.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.