GetData Method
GetData()
Gets the number of discoverable credentials and the remaining "empty slots" in the FIDO2 application of the YubiKey, which is the number of discoverable credentials fow which the YubiKey has space.
C#
public (int, int) GetData()
Returns
System.ValueTuple<System.Int32, System.Int32>
The data in the response APDU, presented as a pair of ints.
Implements
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | |
Ctap2DataException | If the response from the YubiKey does not match the expected format. |