Configuring Client Libraries
Connect your applications to Cryptlex On-Premise.

LexActivator

By default, LexActivator will send license and trial activation requests to api.cryptlex.com.
You’ll need to configure your applications to send license and trial activation requests to your On-premise installation, at the hostname:port you configured for the Cryptlex Web API server endpoint.
For example, in C/C++ applications:
1
int status;
2
status = SetProductData("PASTE_CONTENT_OF_PRODUCT.DAT_FILE");
3
if (LA_OK != status)
4
{
5
// handle error
6
}
7
status = SetProductId("PASTE_PRODUCT_ID", LA_USER);
8
if (LA_OK != status)
9
{
10
// handle error
11
}
12
status = SetCryptlexHost("https://cryptlex-api.mycompany.com");
13
if (LA_OK != status)
14
{
15
// handle error
16
}
Copied!
Similarly you can use the SetCryptlexHost() LexActivator API function for other programming languages.

LexFloatServer

By default, LexFloatServer will send its own license activation request to api.cryptlex.com.
In order to configure LexFloatServer to send the license activation requests to your On-Premise installation, you should update cryptlexHost property in the LexFloatServer config.yml file:
1
server:
2
cryptlexHost: https://license-api.example.com
Copied!