Keyright.NET
1.2.0
dotnet add package Keyright.NET --version 1.2.0
NuGet\Install-Package Keyright.NET -Version 1.2.0
<PackageReference Include="Keyright.NET" Version="1.2.0" />
<PackageVersion Include="Keyright.NET" Version="1.2.0" />
<PackageReference Include="Keyright.NET" />
paket add Keyright.NET --version 1.2.0
#r "nuget: Keyright.NET, 1.2.0"
#:package Keyright.NET@1.2.0
#addin nuget:?package=Keyright.NET&version=1.2.0
#tool nuget:?package=Keyright.NET&version=1.2.0
Keyright.NET
The Keyright client SDK. Multi-targets netstandard2.0;net8.0 so it loads inside .NET Framework 4.8 and
.NET 6–10 consumers (CR-3, NFR-4). Validation works on every target; signing/keygen is net8-only.
What it does
- Offline validation — RSA-2048 / PKCS#1 v1.5 / SHA-256 signature check + expiry, via
System.Security.Cryptographyonly. Public key loaded from base64 SubjectPublicKeyInfo. - Backward compatible with Nebula.NET's shipped license files (CR-1), via a verification compatibility
ladder. See
../../docs/license-format.md. - Node-locking (
MachineFingerprint) with tolerance for a single hardware/OS change. - Entitlements (
EntitlementSet) — fail-closedIsEnabled/GetLimit. - Front door —
KeyrightClientwith full license-source precedence (FR-72).
Use
using Keyright.Client;
var client = KeyrightClient.Initialize(new KeyrightOptions {
Product = "yourproduct",
PublicKeyBase64 = "<base64 SubjectPublicKeyInfo>",
// optional: LicenseFilePath / LicenseString / EnvVarName (default KEYRIGHT_LICENSE) / ConfigLicensePath
});
var info = client.Validate(); // never throws; fail-closed to Free
if (info.IsPaid) { /* unlock */ }
long max = client.GetLimit("max-assemblies", fallback: 1);
Key rotation (FR-22): set AdditionalPublicKeysBase64 to keep accepting a retiring key during a transition
window — see ../../docs/key-rotation.md.
Offline revocation (FR-44): set RevocationListJson / RevocationListPath to a signed revocation list; a
validated license/lease whose id is on the (verified) list resolves to Free.
Signing (net8 only) lives in Keyright.Signing.LicenseSigner.
Hardening: ship this SDK through Nebula.NET's obfuscation as a recommended step (SEC-1).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.5)
-
net8.0
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.