Yubico dotnet client

Validation protocol 2.0 client for dotNet. To use this with YubiCloud you will need a free clientId and apiKey from https://upgrade.yubico.com/getapikey

For more details on how to use YubiKey OTP libraries, visit developers.yubico.com/OTP.

Usage

YubicoClient client = new YubicoClient(clientId, apiKey);
IYubicoResponse response = await client.VerifyAsync(otp);
if(response != null && response.Status == YubicoResponseStatus.Ok)
{
  // validation success
}
else
{
  // validation failure
}