Show / Hide Table of Contents

GetData Method

GetData()

Gets the instance Code class.

C#
public Code GetData()

Returns

Code

The data in the response APDU, presented as one-time password.

Implements

IYubiKeyResponseWithData<TData>.GetData()

Exceptions

Type Condition
InvalidOperationException

Thrown when Status is not equal to Success.

MalformedYubiKeyResponseException

Thrown when the data provided does not meet the expectations, and cannot be parsed.

In this article
Back to top Generated by DocFX