Oakrey.License.Windows 1.0.0

dotnet add package Oakrey.License.Windows --version 1.0.0
                    
NuGet\Install-Package Oakrey.License.Windows -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="Oakrey.License.Windows" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.License.Windows" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.License.Windows" />
                    
Project file
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 Oakrey.License.Windows --version 1.0.0
                    
#r "nuget: Oakrey.License.Windows, 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.
#addin nuget:?package=Oakrey.License.Windows&version=1.0.0
                    
Install Oakrey.License.Windows as a Cake Addin
#tool nuget:?package=Oakrey.License.Windows&version=1.0.0
                    
Install Oakrey.License.Windows as a Cake Tool

Oakrey.License.Windows

Overview

The "License.Windows" project extends the functionality of the "License" project by providing Windows-specific utilities for managing software licenses. It integrates with Windows Management Instrumentation (WMI) and system identification APIs to bind licenses to specific devices and systems.

Features

Device and System Information:

  • InfoHelper: Retrieves detailed device and system information using WMI and Windows system identification APIs.
  • ManagementHelper: Executes WMI queries to fetch hardware and system properties.

License Handling:

  • LicenseHandler: Manages license requests, validation, and communication with a license server.
  • Supports both standard and trial licenses.

License Validation:

  • Validates licenses against device and system information.
  • Uses cryptographic verification to ensure license integrity.

Error Handling:

  • LicenseHandlerException: Provides detailed error information for license server communication issues.

Integration with Windows APIs:

Leverages Windows-specific features like WMI and SystemIdentification for secure and reliable license binding.

Installation

You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.

NuGet Package Manager

  1. Open your project in Visual Studio.
  2. Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
  3. Search for Oakrey.License.Windows and click Install.

.NET CLI

Run the following command in your terminal:

dotnet add package Oakrey.License.Windows

Package Manager Console

Run the following command in your Package Manager Console:

Install-Package Oakrey.License.Windows

Requirements

  • .NET 8 or higher

Project Information

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.17763 is compatible.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Oakrey.License.Windows:

Package Downloads
Oakrey.Applications.License

A .NET library for managing application licenses, providing validation, exception handling, and a WPF-based user interface for license management.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 209 4/16/2025