KeyNub.LicenseDongle.Native
1.1.1
dotnet add package KeyNub.LicenseDongle.Native --version 1.1.1
NuGet\Install-Package KeyNub.LicenseDongle.Native -Version 1.1.1
<PackageReference Include="KeyNub.LicenseDongle.Native" Version="1.1.1" />
<PackageVersion Include="KeyNub.LicenseDongle.Native" Version="1.1.1" />
<PackageReference Include="KeyNub.LicenseDongle.Native" />
paket add KeyNub.LicenseDongle.Native --version 1.1.1
#r "nuget: KeyNub.LicenseDongle.Native, 1.1.1"
#:package KeyNub.LicenseDongle.Native@1.1.1
#addin nuget:?package=KeyNub.LicenseDongle.Native&version=1.1.1
#tool nuget:?package=KeyNub.LicenseDongle.Native&version=1.1.1
KeyNub License Dongle — C and C++ for Visual Studio
The KeyNub USB-C license dongle SDK for native Visual Studio projects: the C API
header, the header-only C++11 wrapper, import libraries and the prebuilt
keynub_licdongle.dll for x64, x86 and ARM64. No driver to install.
Referencing the package does the whole integration: the include path is added,
keynub_licdongle.lib is linked for the project's platform, and the library is
copied next to the executable after each build.
#include <licdongle.hpp> // or <licdongle.h> for the C API
keynub::Context ctx;
auto dongle = ctx.open(); // first dongle found
dongle.verifyGenuine(); // throws unless genuine
auto session = dongle.openSession();
auto data = session.appDecrypt(blob); // build the licence check on this
Read docs/integration-security.md
before writing your check. The dongle proves a genuine device is attached; it
cannot stop an attacker patching the application that asks. Feed something your
program needs through appEncrypt/appDecrypt instead of branching on a
boolean.
The Apache-2.0 licence covers the headers; the prebuilt library is under
BINARY-LICENSE.txt, included in the package.
Links
- KeyNub License Dongle for C and C++: the product, and how to order one
- Source, samples and issue tracker on GitHub
- Native library for your platform
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.1 | 41 | 9/12/2026 |