ExisOne.Client
0.8.2
dotnet add package ExisOne.Client --version 0.8.2
NuGet\Install-Package ExisOne.Client -Version 0.8.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExisOne.Client" Version="0.8.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ExisOne.Client" Version="0.8.2" />
<PackageReference Include="ExisOne.Client" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ExisOne.Client --version 0.8.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ExisOne.Client, 0.8.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ExisOne.Client@0.8.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ExisOne.Client&version=0.8.2
#tool nuget:?package=ExisOne.Client&version=0.8.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ExisOne.Client
.NET client SDK for the ExisOne Software Activation System. Supports online licensing, offline (air-gapped) licensing, and smart validation that auto-detects the license type.
Installation
dotnet add package ExisOne.Client
Quick Start
using ExisOne.Client;
var client = new ExisOneClient(new ExisOneClientOptions
{
BaseUrl = "https://your-exisone-api.com",
AccessToken = "your-api-token"
});
// Generate a hardware-locked ID for this machine
var hardwareId = client.GenerateHardwareId();
// Activate a license
var activation = await client.ActivateAsync(activationKey, email, hardwareId, "YourProduct");
if (activation.Success)
Console.WriteLine("License activated!");
else
Console.WriteLine($"Failed: {activation.ErrorMessage}");
// Validate a license
var (isValid, status, expiration, features, _, _) =
await client.ValidateAsync(hardwareId, "YourProduct", activationKey);
if (isValid)
Console.WriteLine($"Licensed until {expiration}, features: {string.Join(",", features)}");
// Deactivate
await client.DeactivateAsync(activationKey, hardwareId, "YourProduct");
Offline Licensing
For air-gapped environments, configure the client with your public key (found in the ExisOne dashboard under Crypto Keys):
var client = new ExisOneClient(new ExisOneClientOptions
{
BaseUrl = "https://your-exisone-api.com",
AccessToken = "your-api-token",
OfflinePublicKey = @"-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A...
-----END PUBLIC KEY-----"
});
var hardwareId = client.GenerateHardwareId();
// Smart validation — auto-detects online vs offline keys
var result = await client.ValidateSmartAsync(licenseKey, hardwareId, "YourProduct");
if (result.IsValid)
{
Console.WriteLine($"Licensed until: {result.ExpirationDate}");
Console.WriteLine($"Offline: {result.WasOffline}");
}
// Or validate offline codes directly (no network)
var offline = client.ValidateOffline(offlineCode, hardwareId);
Offline Workflow
- Your app calls
client.GenerateHardwareId()and displays it to the user - The user provides the hardware ID to your support team
- An admin generates an offline code in the ExisOne dashboard
- The user enters the code in your app
- Your app validates locally with
ValidateOffline()orValidateSmartAsync()
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
-
net9.0
- 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.