Yubico brings the YubiKey to the .NET ecosystem with its new desktop SDK

In continuation with our mission to bring strong authentication to the world, Yubico is excited to announce that integrating the YubiKey into your .NET application or workflow will now be easier than ever before. This is enabled with the introduction of the new YubiKey SDK for Desktop. With this Desktop SDK, you can now add support for the multi-protocol YubiKey directly into your application, supporting scenarios over both USB and near-field communication (NFC).

The first beta, released on Friday, supports the Initiative for Open Authentication (OATH), and Personal Identification and Verification (PIV) applications. A beta refresh will be made in July that will add support for the Yubico OTP application.

For organizations using the YubiKey as a PIV smart card, the Desktop SDK automates many tasks such as generating keypairs, loading certificates and more. Coupled with comprehensive documentation and sample code, we demonstrate how to use the SDK for end to end smart card management and provisioning.

No matter how your user interacts with the YubiKey, the developer experience is the same. With native NFC support, building tap and go scenarios for your one-time password based workflows becomes as easy as if it were USB.

Key features of the Desktop SDK

  • Support for macOS and Windows operating systems
  • NFC as a first-class citizen
  • Targets .NET Standard 2.0
  • Layered API: Use the application session APIs for quick application development, or instead use the low level commands for total control.

Later this summer, Yubico will release the Desktop SDK as an open source project on GitHub.

How to get started

As part of the YubiKey SDK for Desktop effort, Yubico is building its most comprehensive set of documentation yet. The documentation is also in Beta and will continue to be expanded and improved throughout the SDK’s release cycle. You can begin reading the documentation here.

The Desktop SDK is available today on NuGet.org under the Yubico organization. The package to reference is Yubico.YubiKey.

How to participate in the public beta and give feedback

We invite all existing Yubico Mobile SDK users and those curious to integrate hardware security into their desktop offerings to join our upcoming webinar on June 30th to learn how to integrate your desktop apps with Yubikeys. You can give us feedback at desktopsdkbeta@yubico.com.

Talk to our teamTalk to our team

Share this article:


  • Yubico LogoYubico liefert PIN-Verbesserungen mit dem neuen YubiKey 5 – Verbesserte PIN-SchlüsselUm sich auf die sich ständig weiterentwickelnden Cyber-Bedrohungen vorzubereiten, passen Regierungen weltweit die Authentifizierungsanforderungen für Online-Dienste an und aktualisieren sie, was direkte Auswirkungen auf viele Unternehmen und deren Mitarbeiter hat. Zwar gibt es derzeit keine universelle Regelung für eine robustere Multi-Faktor-Authentifizierung (MFA), doch wird deren Notwendigkeit in einer Reihe von Anforderungen hervorgehoben, darunter PSD2, DSGVO […]Read moreYubiKey
  • Yubico delivers PIN advancements with new YubiKey 5 – Enhanced PIN keysTo prepare for continuously evolving cyber threats, governments around the world are adapting and updating authentication requirements for online services which directly impact thousands of organizations and their employees. While there’s currently no universal regulation for more robust multi-factor authentication (MFA), the need is highlighted across a range of requirements including PSD2, GDPR, and the […]Read moreCompany NewsProduct NewsYubiKeyYubiKey 5 – Enhanced PINYubiKey 5 SeriesYubiKey as a Service
  • An inside look at Yubico’s transition to passwordlessBefore “passkey” became a familiar term in our industry, Yubico had long delivered hardware-backed and phishing-resistant FIDO2 based authentication. Today, the adoption of passkey usage is accelerating. However, it’s taken quite a bit longer to integrate passwordless authentication into the everyday, enterprise-grade authentication flows that are required for today’s businesses.  As long as it’s been […]Read moreOktapasswordless
  • Mission matters – my reflections on winning the EY World Entrepreneur of the Year “This is the biggest mission any of the entrepreneurs have presented in this competition.”  I heard these words a few weeks ago from one of the judges for the EY World Entrepreneur of the Year award program – whom I had the honor to meet during the final step of the world’s largest entrepreneur competition.  […]Read moreawardsFounderStina Ehrensvard