Show / Hide Table of Contents

GetData Method

GetData()

Gets the YubiKeyDeviceInfo class that contains details about the current configuration of the YubiKey.

C#
public YubiKeyDeviceInfo GetData()

Returns

YubiKeyDeviceInfo

The data in the response APDU, presented as a YubiKeyDeviceInfo 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