Show / Hide Table of Contents

GetSerialNumberResponse Class

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

The response to the GetSerialNumberCommand command, containing the YubiKey's serial number.

C#
public class GetSerialNumberResponse : OtpResponse, IYubiKeyResponseWithData<int>, IYubiKeyResponse
Inheritance object YubiKeyResponse OtpResponse GetSerialNumberResponse
Implements
IYubiKeyResponseWithData<int>
IYubiKeyResponse

Constructors

Name Description
GetSerialNumberResponse(ResponseApdu)

Constructs a GetSerialNumberResponse based on a ResponseApdu received from the YubiKey.

Methods

Name Description
GetData()

Gets the serial number.

In this article
Back to top Generated by DocFX