Show / Hide Table of Contents

GetSerialNumberCommand Class

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

Gets the serial number of the YubiKey.

C#
public class GetSerialNumberCommand : IYubiKeyCommand<GetSerialNumberResponse>
Inheritance object GetSerialNumberCommand
Implements
IYubiKeyCommand<GetSerialNumberResponse>

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.

In this article
Back to top Generated by DocFX