GetSerialNumberResponse Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllThe response to the GetSerialNumberCommand command, containing the YubiKey's serial number.
C#
public class GetSerialNumberResponse : OtpResponse, 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. |