GetData Method
GetData()
Gets the metadata from the YubiKey response.
C#
public PivMetadata GetData()
Returns
The data in the response APDU, presented as a PivMetadata object.
Implements
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |
Remarks
If the Status is ResponseStatus.NoData
, the slot is empty and
this method will throw an exception. Hence, it is a good idea to check
Status
before calling this method.