License key SDKs for every stack
Licers has official SDKs for Python, Node.js and Electron, C# / .NET and Unity, Android and Kotlin, Rust, Go, and C / C++. They all do the same job: send a license key, check the Ed25519 signature on the answer, and bind the key to the device. Any other language can call the REST API.
Updated by the Licers team
Choose your language
| Language | Install | Guide |
|---|---|---|
| Python | pip install pylicensify | Python license keys |
| Node.js | npm install @licers/sdk | Node.js license keys |
| Electron | npm install @licers/sdk | Electron license keys |
| C# / .NET | dotnet add package Licers | C# license keys |
| Unity | NuGetForUnity: Licers | Unity license keys |
| Android, Kotlin, Java | com.licers:licers | Android license keys |
| Rust | cargo add licers | Rust license keys |
| Go | go get licers.com/go/licers | Go license keys |
| C and C++ | Prebuilt library + CMake | C++ license keys |
What every SDK does for you
- Signed answers. Each call sends a fresh random nonce. The server signs its answer with an Ed25519 private key that never leaves it, and the SDK checks that signature with your public key. A fake license server, an edited reply or a replayed old reply fails the check.
- Device binding. The device id is a SHA-256 hash of the operating system’s machine id (Windows
MachineGuid, Linux/etc/machine-id, macOSIOPlatformUUID). It survives reinstalls of your app, and the Node, .NET, Kotlin, Java, Rust, Go, C and C++ SDKs compute the same value on the same machine. The Python SDK has its own device id. - Product pinning. Set your product id and keys for your other products are rejected.
- Entitlements. Features such as
{"pro": true}travel inside the signed answer, so they cannot be switched on by editing a reply. - Floating seats, usage credits, remote variables, update checks and offline license files use the same client.
No SDK for your language?
Send one HTTPS request and verify one signature. The documentation lists the exact fields, so any language with an Ed25519 library works.
POST https://licers.com/api/v1/validateContent-Type: application/json { "key": "XXXX-XXXX-XXXX-XXXX", "hwid": "<device id>", "nonce": "<random>" }Questions and answers
Are the SDKs open to use in commercial apps?
Yes. They are published on the public registries and the .NET, Rust, Go and Node packages are MIT licensed.
Do the SDKs work offline?
Yes. Issue a signed .lic file and the SDK verifies it on the machine with no network.
Can one key work in apps written in different languages?
Yes. The Node, .NET, Kotlin, Java, Rust, Go, C and C++ SDKs compute the same device id on a machine, so a key bound by one is already bound for the others. The Python SDK has its own device id: pass the same hwid to both, or allow one more device.
What does it cost?
Nothing today. Every feature is free and unlimited: products, keys, devices, validations, offline files and floating seats. See pricing.