LicenseSpring

.NET Licensing SDK for Desktop, Enterprise, and Cross-Platform Applications

The LicenseSpring .NET SDK lets you implement license activation, entitlement enforcement, and usage tracking directly inside your C# or .NET application with no external licensing infrastructure to build or maintain.

Built for the full Microsoft ecosystem, the SDK supports .NET Framework, modern .NET runtimes, .NET Standard, and Xamarin, and covers desktop, enterprise, mobile, and cross-platform .NET products from a single integration.

  • ISO 27001 Certified
  • ISO 9001 Certified
  • Trusted by Software Vendors Worldwide

Add Licensing to Your .NET Application in Minutes

The .NET SDK integrates as a native library into your existing .NET codebase. Once installed, you have direct access to LicenseSpring's licensing infrastructure.

With the SDK, you can:

Activate and validate licenses at runtime: online, offline, or in air-gapped environments

Enforce node-locked, floating, subscription, and consumption-based licensing: using the model that fits your product

Gate features by entitlement: control access to functionality at the SDK level, across any .NET application type

Run local license checks with configurable grace periods: define how long the SDK honors a cached license before requiring revalidation, so connectivity loss never interrupts active users

Bind licenses to hardware: generate persistent hardware IDs using multiple device fingerprinting algorithms suited to the deployment environment

Track usage and activations: feed license telemetry back to the LicenseSpring platform in real time

Not a LicenseSpring customer? Get your free account now.

Built for the Microsoft Ecosystem and Cross-Platform .NET Development

The .NET SDK covers the full range of Microsoft and cross-platform .NET environments, enabling vendors to license applications built with C#, VB.NET, and other .NET-compatible languages.

Common Use Cases

Use CaseDescription
Desktop Applications
Licensing for WinForms, WPF, and Windows desktop software
Enterprise Software
Licensing internal tools and enterprise-grade .NET applications
SaaS Companion Apps
Managing licensing for client-side applications connected to cloud services
Mobile Applications
Licensing Xamarin.Forms Android and iOS apps
Developer Tools
Licensing SDKs, developer platforms, and productivity tools

Supported .NET Frameworks and Runtimes

The .NET SDK provides broad version coverage across legacy and modern .NET environments. Choose the runtime that matches your target deployment.

.NET Framework

Supported versions: 3.5 · 4.0 · 4.5 · 4.5.1 · 4.5.2 · 4.6 · 4.6.1 · 4.6.2 · 4.7 · 4.7.1 · 4.7.2 · 4.8

Modern .NET

Supported versions: .NET 5 · .NET 6 · .NET 7 · .NET 8

.NET Standard

Supported targets: netstandard2.0 · netstandard2.1 .NET Standard support allows licensing logic to be shared as a common library across multiple .NET applications, including desktop, server, and mobile, without duplicating integration work.

Xamarin.Forms

Supported environments: Xamarin.Forms Android · Xamarin.Forms iOS The same licensing infrastructure used for desktop and enterprise .NET applications applies directly to Xamarin mobile apps with no separate licensing integration required.

Install the .NET SDK via NuGet

The .NET SDK is available as a NuGet package, integrating directly into your existing development workflow.

Package name: LicenseSpring.NetSDK

Supported target frameworks:

net5.0 · net6.0 · net7.0 · net8.0 · netstandard2.0 · netstandard2.1 · net45 through net48

What's Included in the SDK Package

The downloadable SDK ZIP package includes everything needed to start integrating licensing into your application.

Contents include:

SDK Libraries

Compiled libraries for .NET Framework, .NET Standard, and modern .NET runtimes.

Code Samples

Example implementations covering:
  • Android

  • Console Applications

  • Forms iOS

  • VBA integrations

  • VB.NET

  • WinForms

  • Xamarin.Forms

  • Xamarin

Documentation

Guides covering SDK initialization, license activation, runtime validation, feature entitlement enforcement, and offline activation flows.

Release Notes

Full changelog covering SDK updates, bug fixes, new features, and platform compatibility improvements.

Hardware ID Generation

The .NET SDK includes hardware fingerprinting support for node-locked licensing and device-bound activation. Multiple algorithms are available for computing a unique, persistent hardware identifier, selecting the approach that fits the deployment environment, whether that's a physical workstation, a virtual machine, or a Xamarin mobile device.

Generated hardware IDs are used for:

Node-locked license binding

Device identification and activation tracking

Consistent hardware fingerprinting across multi-SDK product deployments

Cross-SDK Interoperability

Products that combine a .NET component with other parts of their stack, such as a C++ core engine, a Java backend, or a Node.js interface, can use multiple LicenseSpring SDKs simultaneously.

All LicenseSpring SDKs share a common license file format and compute hardware identifiers using the same underlying logic. A license issued to a device is recognized consistently across every component of your product, regardless of which SDK each part uses.

Offline and Air-Gapped Licensing

The .NET SDK fully supports deployments with limited or no internet connectivity, with two distinct activation paths:

Offline activation: uses a file-exchange flow for environments with occasional or restricted connectivity

Air-gapped activation: uses a code-exchange flow for environments where no external data transfer is permitted

Both paths support local license validation with configurable grace periods, making the .NET SDK suitable for enterprise environments with strict network policies, on-premises deployments, and any scenario where persistent server connectivity cannot be guaranteed.

Need Help Integrating the .NET SDK?

Our developer support team can help you implement licensing quickly and correctly.

Full SDK documentation and API reference

Integration tutorials and code samples

Direct technical support

Add Professional Licensing to Your .NET Application

The LicenseSpring .NET SDK gives you the infrastructure to protect your software, enforce licensing policies, and monetize .NET applications across every environment you target.