Skip to main content

LLKStatus

Description

Status codes that can be returned by Licentrix EMS Licensing library

Syntax

LLKStatus
typedef enum {
LLK_OK = 0, ///< The operation status is successful
LLK_INVALID_PARAMETER = 1, ///< The parameter(s) is invalid (null pointers are forbidden)
LLK_FEATURE_NOT_FOUND = 2, ///< The Feature not found
LLK_FEATURE_RESOURCE_EXHAUST = 3, ///< The Feature resource exhausted
LLK_FEATURE_EXPIRED = 4, ///< The Feature is expired
LLK_FEATURE_UNSUPPORTED_OPERATION = 5, ///< The Feature type does not allow requested operation
LLK_FEATURE_INSUFFICIENT_EXECUTIONS_COUNT = 6, ///< The license for the Feature does not contain enough remaining executions
LLK_INVALID_LICENSE_FILE = 7, ///< The license file is broken or damaged
LLK_LICENSE_FILE_NOT_FOUND = 8, ///< The license file path was not found or it is broken
LLK_LICENSE_FILE_PATH_IS_EMPTY = 9, ///< The license file path is empty
LLK_FINGERPRINT_MISMATCH = 10, ///< The fingerprint of the current machine does not match the activation fingerprint
LLK_SERIAL_NUMBER_MISMATCH = 11, ///< The serialNumber does not match the activation serialNumber
LLK_LICENSE_NOT_ACTIVATED_YET = 12, ///< The license not activated yet. For activation/initialization use `llkActivateLicense`
LLK_SYSTEM_CLOCK_CHANGE_DETECTED = 13, ///< The system time has been changed! License features are unavailable
LLK_NETWORK_ERROR = 14, ///< Network error. A service was denied by the server due to lack of access
LLK_INVALID_SERIAL_NUMBER = 15, ///< Invalid serialNumber (empty or length error). Maybe the vendor canceled the entitlement. Please give a valid one
LLK_ACTIVATION_HOST_IS_EMPTY = 16, ///< The activation server address is empty
LLK_ENTITLEMENT_EXPIRED = 17, ///< The Entitlement is expired
LLK_INVALID_VENDOR_CODE = 18, ///< Invalid Vendor Code passed
LLK_INVALID_FORMAT = 19, ///< Invalid JSON format
LLK_OFFLINE_ACTIVATION_FILE_PATH_IS_EMPTY = 20, ///< The offline activation file path is empty
LLK_INTERNAL_TRY_AGAIN = 701, ///< Internal error. Please try again, or contact development team if retry was not helpful
} LLKStatus;

Definition

Status CodeNo.Description
LLK_OK0Request was successfully completed. The operation status is successful
LLK_INVALID_PARAMETER1The parameter(s) is invalid (null pointers are forbidden)
LLK_FEATURE_NOT_FOUND2Requested Feature not found
LLK_FEATURE_RESOURCE_EXHAUST3Resources of the feature have been exhausted. For example, when the feature type is LLK_EXECUTIONS, and the balance is zero
LLK_FEATURE_EXPIRED4Requested Feature has expired
LLK_FEATURE_UNSUPPORTED_OPERATION5Feature type does not support the requested operation. For example, the type of the feature is LLK_EXECUTIONS. And the request is to get the expiration date
LLK_FEATURE_INSUFFICIENT_EXECUTIONS_COUNT6Executions balance is exhausted. Returns llkConsumeBatchOfExecutions when the requested number is greater than the current balance
LLK_INVALID_LICENSE_FILE7Returns llkActivateLicense when the integrity of the Program key has been violated - this may be due to an attempted manual edit
LLK_LICENSE_FILE_NOT_FOUND8Returns llkActivateLicense, when the Program key lookup has failed. For example, the Program key file was corrupted or deleted
LLK_LICENSE_FILE_PATH_IS_EMPTY9Returns llkActivateLicense, when the path to the Program key is an empty string or not exists
LLK_FINGERPRINT_MISMATCH10The fingerprint of the current machine mismatch the activation fingerprint
LLK_SERIAL_NUMBER_MISMATCH11If a Program key with some Serial number installed, the attempt to initialize the environment with another serial number can't be successful. This is a protection for unintentional overwrites
LLK_LICENSE_NOT_ACTIVATED_YET12The entitlement has not been activated yet. For activation/initialization, use llkActivateLicense
LLK_SYSTEM_CLOCK_CHANGE_DETECTED13The system time has been changed! License features are unavailable
LLK_NETWORK_ERROR14Network error. A service was denied by the server due to lack of access
LLK_INVALID_SERIAL_NUMBER15Invalid Serial Number (empty or length error). Maybe the Vendor canceled the entitlement. Please give a valid one
LLK_ACTIVATION_HOST_IS_EMPTY16The activation server address is empty. Default value is licentrix.tech, replace only with backup address
LLK_ENTITLEMENT_EXPIRED17The Entitlement is expired
LLK_INVALID_VENDOR_CODE18Invalid Vendor Code passed
LLK_INVALID_FORMAT19Invalid JSON format
LLK_OFFLINE_ACTIVATION_FILE_PATH_IS_EMPTY20Returns llkOfflineActivationRequest, when the path to save the generated Request Code is an empty string or not exists
LLK_INTERNAL_TRY_AGAIN701Internal error. Please try again, or contact development team if retry was not helpful
Important

Status Code LLK_INVALID_LICENSE_FILE indicates that the integrity of the Product key has been violated. One of the possible reasons is an emergency termination of the program when the data did not have time to be written to the hard drive in the correct order. Or attempt to edit and/or copy of a Product key from another device

This problem can be easily resolved


Version history

  • Added in version 1.0.0