GetData Method
GetData()
Gets the YubiKeyDeviceInfo class that contains details about the current configuration of the YubiKey.
C#
public YubiKeyDeviceInfo GetData()
Returns
The data in the response APDU, presented as a YubiKeyDeviceInfo class.
Implements
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | |
MalformedYubiKeyResponseException | Thrown when the data received from the YubiKey does not match the expectations of the parser. |