Back
AuthorizedAuthorizedDocs

HWID Locking

Hardware ID locking binds a license key to a specific device on first use, preventing sharing.

How it works

  1. On first /init call with an HWID, the license is bound to that device
  2. Subsequent calls from a different HWID return a 403 HWID_MISMATCH error
  3. You (the app owner) can reset the HWID from the dashboard — free accounts get 2 resets per key, VIP is unlimited

Generating a HWID

python
import hashlib, platform, uuid

def get_hwid():
    # Combine multiple hardware identifiers for uniqueness
    data = platform.node() + str(uuid.getnode())
    return hashlib.sha256(data.encode()).hexdigest()
cpp
std::string GetHWID() {
    char hostname[256];
    gethostname(hostname, 256);
    // Hash with your preferred algorithm
    return SHA256(hostname);
}

HWID Mismatch Error

json
{
  "success": false,
  "message": "Hardware ID mismatch. Please contact support to reset your HWID.",
  "error_code": "HWID_MISMATCH"
}
Warning:Free accounts are limited to 2 HWID resets per license key. VIP accounts have unlimited resets.