Show / Hide Table of Contents

GetData Method

GetData()

Gets the serial number from the YubiKey response.

C#
public int GetData()

Returns

int

The data in the response APDU, presented as an int.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown if Status is not equal to Success.

MalformedYubiKeyResponseException

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

In this article
Back to top Generated by DocFX