LicenseManager 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package LicenseManager --version 1.0.0
NuGet\Install-Package LicenseManager -Version 1.0.0
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="LicenseManager" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LicenseManager --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LicenseManager, 1.0.0"
#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.
// Install LicenseManager as a Cake Addin #addin nuget:?package=LicenseManager&version=1.0.0 // Install LicenseManager as a Cake Tool #tool nuget:?package=LicenseManager&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LicenseManager for WooCommerce .Net Library
A C# Library for the LicenseManager for WooCommerce formerly known as LicenseManager.at. This library makes it easy to activate or validate software licenses from .Net applications.
Code Examples
// Create a license manager (WordPress Host URL, Consumer API Key, Consumer API Secret)
var licenseManager = new("http://domain.com", "ck_3e68d6156f48ddb61b1748ca548f632b1d19d446", "cs_6a74509a3c4127bf19340ef873fd9349eca07g78");
// Activate a license key (this will increase the TimesActivated counter if successful)
var (success, errorMessage) = await _licenseManager.ActivateLicenseAsync(licenseKey, productId);
MessageBox.Show(success
? $"License {licenseKey} was successfully activated for product {productId}."
: $"Something went wrong: {errorMessage}");
// Check if a license key is valid for a specific product
var (success, errorMessage) = await _licenseManager.ValidateLicenseAsync(licenseKey, productId);
MessageBox.Show(success
? $"License {licenseKey} was successfully validated for product {productId}."
: $"Something went wrong: {errorMessage}");
Example WinForms Project
You can find an example project at https://github.com/g4m3r0/LicenseManager-for-WooCommerce-.Net-Library-Example.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- System.Management (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.