SetLegacyDeviceConfigCommand Class
Namespace: Yubico.YubiKey.Management.Commands Assembly: Yubico.YubiKey.dllWrites configuration settings that are supported by YubiKeys prior to firmware version 5.
C#
public class SetLegacyDeviceConfigCommand : SetLegacyDeviceConfigBase, IYubiKeyCommand<YubiKeyResponse>
Implements
Remarks
This is the only configuration operation available to YubiKeys prior to firmware version 5. These YubiKeys have limited configuration settings, and all of them must be set at the same time.
Constructors
Name | Description |
---|---|
SetLegacyDeviceConfigCommand(SetLegacyDeviceConfigBase) | Creates a new SetLegacyDeviceConfigCommand from another object which derives from SetLegacyDeviceConfigBase. |
SetLegacyDeviceConfigCommand(YubiKeyCapabilities, Byte, Boolean, Int32) | Initializes a new instance of the SetLegacyDeviceConfigCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | Creates a well-formed CommandApdu to send to the YubiKey. |
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |