GNA.CommercialLicenseValidator 1.0.4

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

GNA_CommercialLicenseValidator

Commercial License Validation Library for GNA Software Components

This DLL provides runtime validation of software license codes for client applications using GNA commercial software modules. It ensures licensing integrity by verifying software code identity and license expiry.

Both input data strings (software code and license code) are supplied by GNA Geomatics, through the Commercial License Generator (Part 1 of this 2 part software package)


🔧 Installation

Option 1: Manual DLL Reference

  1. Download GNA_CommercialLicenseValidator.dll from the Releases section.
  2. In your Visual Studio project:
    • Right-click on your project → Add Reference
    • Click Browse... and select the downloaded DLL.
  3. Add the namespace in your code:
using GNA_CommercialLicenseValidator;

✅ Usage Example

using System;
using GNA_CommercialLicenseValidator;

class Program
{
    static void Main()
    {
        string softwareCode = "TEST01";
        string licenseCode = "XXXXXXXXYYYYYYYY"; // Replace with actual code

        // Validate license at application start
        LicenseValidator.ValidateLicense(softwareCode, licenseCode);

        // Continue only if license is valid
        Console.WriteLine("License is valid. Application continues...");
    }
}

🔐 License Code Structure

  • Total length: 16 characters
  • Composed of two parts:
    • 8 characters for software code block
    • 8 characters for expiry date block
  • Each block is Base64-encoded after lightweight XOR encryption.

⚠ Validation Behavior

  • If the software code does not match, the application terminates.
  • If the license is expired, the application terminates.
  • If the license expires within 5 days, a warning message is displayed, but execution continues.
  • If the license is valid, the application continues silently.

📩 License Renewal

If your license is expiring soon or has expired, contact:

📧 gna.geomatics@gmail.com


📂 Repository Contents

  • LicenseValidator.cs – Source code for the validation class.
  • README.md – Integration guide for developers.
  • GNA_CommercialLicenseValidator.dll – Compiled DLL (in Releases).

📜 License

This software is proprietary and intended for commercial use under license agreement. Unauthorized redistribution or modification is prohibited.

This software forms part 2 of a two part package. Part 1 is the license code generator. Both components are available for commercial use through a 1 year, unlimited use license.

Contact: Julian Gray gna.geomatics@gmail.com +4917672997904

Product 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.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.

Version Downloads Last Updated
1.0.4 247 3/20/2025