SuncodeSoftware.SuperSDK.License 1.2.6

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

SuperSDK.License

License verification library for SuperSDK applications using Ed25519 digital signature.

Features

  • Ed25519 Signature Verification: Cryptographically secure license validation using NSec.Cryptography
  • Hardware Fingerprinting: Machine binding based on CPU ID and Baseboard Serial Number
  • Encrypted MCI Files: Secure machine information storage with AES encryption
  • Cross-Platform Support: Windows (via WMI), Linux, and macOS
  • Code Obfuscation: Protected against reverse engineering

Usage

Basic License Validation

using SuperSDK.License;

// Validate license file (default: SuperSDK.lic in application directory)
if (!LicenseManager.ValidateLicense())
{
    Console.WriteLine("License validation failed!");
    return;
}

Console.WriteLine("License is valid!");

Get License Information

var info = LicenseManager.GetLicenseInfo();
if (info != null)
{
    Console.WriteLine($"Customer: {info.Customer}");
    Console.WriteLine($"Type: {info.Type}");
    Console.WriteLine($"Expiration: {info.ExpirationDate:yyyy-MM-dd}");
    Console.WriteLine($"Perpetual: {info.IsPerpetual}");
}

Generate Machine Information File

// Generate encrypted MCI file for license request
string mciPath = HardwareSignature.GenerateMciFile();
Console.WriteLine($"Machine info file created: {mciPath}");

// Get machine ID for license binding
string machineId = HardwareSignature.GetMachineId();
Console.WriteLine($"Machine ID: {machineId}");

License File Format

License files use XML format with Ed25519 digital signature:

<?xml version="1.0" encoding="utf-8"?>
<License>
  <Customer>
    <Name>Company Name</Name>
    <Email>contact@company.com</Email>
  </Customer>
  <Type>Enterprise</Type>
  <Features>
    <Feature name="MachineId">abc123...</Feature>
    <Feature name="Perpetual">true</Feature>
    <Feature name="EffectiveDate">2025-01-01 00:00:00</Feature>
  </Features>
  <Attributes>
    <Attribute name="Expiration">2026-12-31</Attribute>
  </Attributes>
  <Signature>base64-encoded-ed25519-signature</Signature>
</License>

Security

  • Ed25519 Algorithm: 256-bit public key cryptography
  • Code Obfuscation: ConfuserEx protection on release builds
  • Machine Binding: Optional hardware-based license enforcement
  • AES Encryption: Secure MCI file storage with SHA256-hashed key

Dependencies

  • .NET 9.0+
  • NSec.Cryptography 24.8.0+
  • System.Management (Windows only)

License

This package is part of SuperSDK and is licensed under the MIT License.

Copyright © 2025 SuncodeSoftware

Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on SuncodeSoftware.SuperSDK.License:

Package Downloads
SuncodeSoftware.SuperSDK.Core

Core utilities and messaging system for Goes applications - zero UI dependencies

SuncodeSoftware.SuperSDK.Data

数据访问层 - 基于 Entity Framework Core 和 SQLite/SQLCipher 的数据持久化

SuncodeSoftware.SuperSDK.UI

Avalonia UI 通用组件库 - 通知管理、对话框、ViewModelBase 等

SuncodeSoftware.SuperSDK.App

Application foundation framework for Avalonia-based Goes applications

SuncodeSoftware.SuperSDK.Driver

A powerful C# library for instrument communication with comprehensive DLL integrity validation and license protection

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.6 277 12/23/2025
1.2.5 252 12/23/2025
1.2.4 251 12/23/2025
1.2.2 262 12/22/2025
1.2.1 258 12/22/2025
1.2.0 255 12/22/2025
1.1.9 186 12/22/2025
1.1.8 251 12/22/2025
1.1.7 257 12/22/2025
1.1.6 254 12/22/2025
1.1.5 250 12/22/2025
1.1.4 257 12/22/2025
1.1.3 252 12/22/2025
1.1.2 253 12/22/2025
1.1.1 261 12/22/2025
1.0.7 337 12/16/2025
1.0.6 339 12/16/2025
1.0.5 275 12/16/2025
1.0.4 282 12/16/2025

Add build targets to automatically copy signature files to consumer output directory