PutCommand Class
Namespace: Yubico.YubiKey.Oath.Commands Assembly: Yubico.YubiKey.dllAdds or overwrites an OATH credential.
C#
public class PutCommand : Object, IYubiKeyCommand<OathResponse>
Inheritance
System.Object
PutCommand
Implements
Constructors
Name | Description |
---|---|
PutCommand() | Constructs an instance of the PutCommand class. |
PutCommand(Credential) | Constructs an instance of the PutCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
Credential | The credential to add or overwrite. |
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. |