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 discoverableCredentialCount, int remainingCredentialCount) GetData()
Returns
(int discoverableCredentialCount, int remainingCredentialCount)
The data in the response APDU, presented as a pair of ints.
Implements
Exceptions
Type | Condition |
---|---|
InvalidOperationException | |
Ctap2DataException | If the response from the YubiKey does not match the expected format. |