GetData Method
GetData()
Gets the temporary PIN if requested.
C#
public ReadOnlyMemory<byte> GetData()
Returns
System.ReadOnlyMemory<System.Byte>
null
if the PIN verifies, or the number of retries remaining if
the PIN does not verify.
Implements
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown if Status is not Success or AuthenticationRequired. |
Remarks
First look at the
Status. If Status
is not one of
the following values then an error has occurred and GetData()
will throw an exception.
Status | Description |
---|---|
Success | The biometric authentication succeeded. If requested, GetData returns the temporary PIN. |
AuthenticationRequired | The biometric authentication did not succeed. AttemptsRemaining contains number of of retries remaining. If the number of retries is 0 the biometric authentication is blocked and the client should use PIN authentication (VerifyPinCommand). |