Show / Hide Table of Contents

SetLegacyDeviceConfigCommand Class

Namespace: Yubico.YubiKey.Management.Commands Assembly: Yubico.YubiKey.dll

Writes configuration settings that are supported by YubiKeys prior to firmware version 5.

C#
public class SetLegacyDeviceConfigCommand : SetLegacyDeviceConfigBase, IYubiKeyCommand<YubiKeyResponse>
Inheritance object SetLegacyDeviceConfigBase SetLegacyDeviceConfigCommand
Implements
IYubiKeyCommand<YubiKeyResponse>

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, bool, int)

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.

In this article
Back to top Generated by DocFX