Show / Hide Table of Contents

GetData Method

GetData()

Gets the serial number.

C#
public int GetData()

Returns

int

The data in the ResponseAPDU, presented as an int.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown when Status is not Success.

MalformedYubiKeyResponseException

Thrown when the data received from the YubiKey does not match the expectations of the parser.

In this article
Back to top Generated by DocFX