Yubico.Core is a support library used by other .NET Yubico libraries. You should likely never need to consume this package directly, as it will be included with other libraries.
$ dotnet add package Yubico.CoreEnterprise-grade cross-platform SDK for YubiKey integration, built on .NET.
dotnet add package Yubico.YubiKeyusing Yubico.YubiKey;
// Chooses the first YubiKey found on the computer.
IYubiKeyDevice? GetFirstYubiKey()
{
IEnumerable<IYubiKeyDevice> list = YubiKeyDevice.FindAll();
return list.First();
}📚 Official documentation: docs.yubico.com/yesdk
Supported Target Frameworks:
Linux Compatibility:
Primary assembly containing all classes and types needed for YubiKey interaction.
Platform abstraction layer (PAL) providing:
⚠️ Not for public use
🔧 Unmanaged Library
Provides stable ABI for P/Invoke operations in Yubico.Core.
Using GitHub Attestations, you are able to verify that the NuGet package has been generated from our repository, right down to the specific GitHub Action that built it like this:
> gh attestation verify .\Yubico.Core.1.12.0.nupkg --repo Yubico/Yubico.NET.SDK
Note that you need to have the gh CLI installed.
Repository organization:
docs/ - API documentation and supplementary contentexamples/ - Sample code and demonstrationssrc/ - Source code for all projectstests/ - Unit and integration testsPrerequisites:
Yubico.NET.SDK.sln into your IDE.📫 Need help? Create an issue
📖 Read our blog for the latest Yubico updates here