GetSerialNumberCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllGets the serial number of the YubiKey.
C#
public class GetSerialNumberCommand : Object, IYubiKeyCommand<GetSerialNumberResponse>
Inheritance
System.Object
GetSerialNumberCommand
Implements
Constructors
Name | Description |
---|---|
GetSerialNumberCommand() | Constructs a new instance of the GetSerialNumberCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
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. |