The LicenseSpring C++ SDK lets you implement license activation, entitlement enforcement, and usage tracking directly inside your native C and C++ application with no external licensing infrastructure to build or maintain.
Built for performance-critical software, the SDK supports desktop, embedded, industrial, and high-performance environments across Windows, macOS, Linux, Android, ARM, and RTOS targets.
ISO 27001 Certified
ISO 9001 Certified
Trusted by Software Vendors WorldwideThe C++ SDK integrates as a native library directly into your codebase. Once linked, you have full 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, and consumption-based licensing: using the model that fits your product
Gate features by entitlement: control access to functionality at the SDK level
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
The C++ SDK is designed for products where performance, security, and native execution are non-negotiable.
| Use Case | Description |
|---|---|
Desktop Software | Licensing for installed Windows, macOS, or Linux applications |
Embedded Systems | Licensing embedded software running on specialized hardware |
Engineering & CAD Tools | Protecting high-value computational applications |
Industrial Software | Licensing manufacturing and automation software |
Scientific Computing | Licensing HPC and research software written in C++ |
RTOS and ARM Targets | Licensing firmware and real-time applications on ARM-based hardware |
The C++ SDK provides prebuilt binaries across all major operating systems and compiler toolchains. Choose the build that matches your target environment.
Supported from Windows 7 and later. Prebuilt builds available for:
| Visual Studio | Toolchain |
|---|---|
Visual Studio 2015 | MSVC v140 |
Visual Studio 2017 | MSVC v141 |
Visual Studio 2019 | MSVC v142 |
Visual Studio 2022 | MSVC v143 |
Visual Studio 2025 | MSVC v145 |
Supported versions: macOS 10.12 Sierra and later (x86_64) · macOS 11.0 Big Sur and later (ARM)
Compiled using clang 9.0. Available builds: x86_64 · ARM · MacUniversal (combined binary via lipo)
Tested on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Compatible with any distribution running GCC 7.5+ and C++11 or C++14.
GCC 7.5
GCC 9.2.1
Legacy build compiled with GLIBCXX_USE_CXX11_ABI=0
Supported from Android API Level 24 (Android 7.0 Nougat) and later.
Supported ABIs: arm64-v8a · armeabi-v7a · x86 · x86_64
Built using Android NDK 21.4, 26.1, and 27.2.
Starting with SDK version 7.42.0, LicenseSpring includes a standalone Hardware ID Generator library that operates independently of the core SDK.
The library computes unique, persistent machine fingerprints using multiple algorithms, selecting the approach appropriate for the deployment environment, whether that's a physical workstation, a virtual machine, or an embedded device.
Node-locked license binding
Device identification and activation tracking
Consistent hardware fingerprinting across multi-SDK product deployments
Windows
macOS
Linux
Products built across multiple components or platforms can combine the C++ SDK with other LicenseSpring SDKs. For example, pairing a C++ core engine with a .NET or Java front-end, or a Node.js management interface.
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.
The C++ SDK fully supports deployments with limited or no internet connectivity, with two distinct activation paths:
Stay current on new features, platform support additions, security updates, and bug fixes via the LicenseSpring Platform Changelog.
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