GetData Method
GetData()
Gets the number of PIN retries remaining, if applicable.
C#
public Nullable<int> GetData()
Returns
System.Nullable<System.Int32>
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 PIN verified. GetData returns null . |
AuthenticationRequired | The PIN did not verify. GetData returns the number of retries remaining. If the number of retries is 0, the PIN is blocked. |