GetData Method
GetData()
Returns the number of PIN retries remaining for this YubiKey's FIDO application, and if a reboot of the YubiKey is required.
C#
public (int retriesRemaining, bool? powerCycleRequired) GetData()
Returns
(int retriesRemaining, bool? powerCycleRequired)
An int/boolean pair. The int is the number of retries remaining, and
the boolean (if not null), indicates whether the YubiKey needs to be
power-cycled (removed and reinserted) in order to try verifying the
PIN again. If the boolean is null, then that is equivalent to
false
(power-cycle not required).
Implements
Remarks
The powerCycleRequired
value returned can have three states: true
if the YubiKey needs to be power-
cycled (rebooted), false
if it does not, and null
if this information could not be determined.