SetLegacyDeviceConfigCommand Constructor
SetLegacyDeviceConfigCommand(YubiKeyCapabilities, byte, bool, int)
Initializes a new instance of the Set
C#
public SetLegacyDeviceConfigCommand(YubiKeyCapabilities yubiKeyInterfaces, byte challengeResponseTimeout, bool touchEjectEnabled, int autoEjectTimeout)
Parameters
Type | Name | Description |
---|---|---|
Yubi |
yubiKeyInterfaces | Value for Yubi |
byte | challengeResponseTimeout | Value for Challenge |
bool | touchEjectEnabled | Value for Touch |
int | autoEjectTimeout | Value for Auto |
Exceptions
Type | Condition |
---|---|
Argument |
Thrown if |
Argument |
Thrown when |
Remarks
This command sends all configuration settings every time. Therefore all values must be provided every time.
SetLegacyDeviceConfigCommand(SetLegacyDeviceConfigBase)
Creates a new Set
C#
public SetLegacyDeviceConfigCommand(SetLegacyDeviceConfigBase baseCommand)
Parameters
Type | Name | Description |
---|---|---|
Set |
baseCommand | The SetLegacyDeviceConfig base command object to copy from. |
Remarks
This constructor can be useful to switch between different application-specific implementations of the same base command.