Show / Hide Table of Contents

GetData Method

GetData()

Gets the version from the YubiKey response.

C#
public FirmwareVersion GetData()

Returns

FirmwareVersion

The data in the response APDU, presented as a FirmwareVersion object.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
MalformedYubiKeyResponseException

Thrown when the ResponseApdu.Data does not meet the expectations of the parser.

InvalidOperationException

Thrown when Status is not Success.

In this article
Back to top Generated by DocFX