Show / Hide Table of Contents

Status Property

Status

An application independent status.

C#
public ResponseStatus Status { get; }

Property Value

Type Description
ResponseStatus

ResponseStatus.Success, ResponseStatus.Failed, etc.

Implements

IYubiKeyResponse.Status

Remarks

The Status property communicates many common error conditions. For example there is no data to return, or the command required a touch interaction. These errors are best checked and handled before calling methods that use the data returned by the YubiKey such as GetData(). (this is known as the Tester-Doer pattern).

In this article
Back to top Generated by DocFX