Expand description
§archergate-license
License management SDK for indie software developers.
Machine binding, offline grace periods, and 14-day trials — in a single crate.
§Quick start (Rust)
use archergate_license::LicenseClient;
let client = LicenseClient::new("your-api-key", "com.you.your-plugin");
match client.validate("XXXX-XXXX-XXXX-XXXX") {
Ok(()) => { /* app runs normally */ }
Err(e) => eprintln!("License check failed: {e}"),
}§Quick start (C / C++ / JUCE)
Link against archergate_license.lib (Windows) or libarchergate_license.a (macOS/Linux)
and include archergate_license.h:
#include "archergate_license.h"
AgLicenseClient* client = ag_license_new("your-api-key", "com.you.synth");
int rc = ag_license_validate(client, "XXXX-XXXX-XXXX-XXXX");
if (rc != 0) {
const char* msg = ag_license_error_string(rc);
// handle error
}
ag_license_free(client);Re-exports§
pub use integrity::ValidationReceipt;
Modules§
- api_
types - Re-exported API wire types for custom integrations.
- ffi
- C FFI bindings for native application developers.
- integrity
- Anti-tamper integrity checks for cracking resistance. Anti-tamper integrity checks.
Structs§
- License
Client - License client for a single application.
- Trial
License - A trial license with its expiration info.
Enums§
- License
Error - Every way a license check can fail.