WriteScancodeMap Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllUpdates the scancode mapping used for Yubico OTP and the Yubico OTP based password generator.
C#
public class WriteScancodeMap : Object, IYubiKeyCommand<ReadStatusResponse>
Inheritance
System.Object
WriteScancodeMap
Implements
Constructors
Name | Description |
---|---|
WriteScancodeMap() | Initializes a new instance of the WriteScancodeMap class. The scancode map will be initialized to the default, until it is overridden by the caller. |
WriteScancodeMap(ReadOnlyMemory<Byte>) | Initializing a new instance of the WriteScancodeMap class with a custom scancode map. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies. |
DefaultScancodeMap | The default HID usage map. |
ScancodeMap | The scancode map to be written when the command is sent to the YubiKey. |
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. |