Show / Hide Table of Contents

GetData Method

GetData()

Gets the OTP application status.

C#
public OtpStatus GetData()

Returns

OtpStatus

The data in the ResponseAPDU, presented as an OtpStatus class.

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