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:


  • FIPS certified vs. FIPS compliant: What’s the real difference?“Is your MFA solution FIPS compliant, or is it certified?”  This is a question we hear a lot, and for good reason. In industries where security and compliance are critical (especially in government contracts), understanding the difference between FIPS certified and FIPS compliant isn’t just semantics – it can mean the difference between meeting requirements […]Read moreFIPSNIST
  • 2025 Global State of Authentication survey: A world of difference in cybersecurity habitsIn a world that’s more connected than ever, the landscape of cybersecurity threats is constantly evolving. Bad actors, now supercharged with artificial intelligence (AI), are becoming increasingly adept at exploiting human error through sophisticated phishing and social engineering attacks. This makes robust cybersecurity a universal issue, impacting everyone from individuals to the largest global enterprises. […]Read moreGlobal State of Authenticationsurvey
  • Making digital security a right: Inside Yubico’s Secure it Forward programTechnology can be a great equalizer — but only if the strongest protection is within reach. Since 2022, Yubico has donated more than 65,000 YubiKeys to hundreds of organizations worldwide — a retail value of over $3.3 million. Each key helps strengthen digital protection for those doing vital work in their communities. This isn’t just […]Read more
  • Unlocking trust in enterprise security: Yubico and Okta empowering businesses togetherCollaboration with ecosystem partners is critical for providing our customers with the best cybersecurity solutions. Together, Yubico and Okta have achieved remarkable milestones over the years, including launching innovative solutions and aligning our go-to-market efforts – all aimed at delivering the most impactful cybersecurity solutions and user experience for our customers and partners. At the heart […]Read moreOktaOktane