Class TCilTsegClientLib
Unit
Declaration
type TCilTsegClientLib = class(TObject)
Description
Use an instance of this class to access to CilTseg API.
Hierarchy
- TObject
- TCilTsegClientLib
Overview
Methods
![]() |
procedure CheckSettings; |
![]() |
constructor Create(const AServerURL: string; const ASoftwareID: integer; const ASoftwareToken: string); |
![]() |
function GetLicenseInfo(const ALicenseNumber: string): TCilTsegLicenseInfo; |
![]() |
function GetSoftwareLastRelease: TCilTsegLastRelease; |
![]() |
function LicenseActivation(const ALicenseNumber, AUserEmail, ADeviceName: string): TCilTsegLicenseActivation; |
![]() |
function CheckLicenseActivation(const ALicenseNumber, AUserEmail, ADeviceName, AActivationNumber: string): TCilTsegLicenseActivation; |
Properties
![]() |
property ServerURL: string read FServerURL write SetServerURL; |
![]() |
property SoftwareID: integer read FSoftwareID write SetSoftwareID; |
![]() |
property SoftwareToken: string read FSoftwareToken write SetSoftwareToken; |
Description
Methods
![]() |
procedure CheckSettings; |
![]() |
constructor Create(const AServerURL: string; const ASoftwareID: integer; const ASoftwareToken: string); |
|
Constructor method to get an instance for this class. | |
![]() |
function GetLicenseInfo(const ALicenseNumber: string): TCilTsegLicenseInfo; |
|
Call the API to get the properties of the given license key.
For security reasons it'll answer only for available license key or a key linked to your software ID. The call is done in current thread. It can block the process if a timeout occured. | |
![]() |
function GetSoftwareLastRelease: TCilTsegLastRelease; |
|
Call the API to get the properties of the last declared version for this software in the CilTseg backoffice.
Last release can be current release, a previous or future one depending on what you have declared and enabled in your CilTseg backoffice. The call is done in current thread. It can block the process if a timeout occured. | |
![]() |
function LicenseActivation(const ALicenseNumber, AUserEmail, ADeviceName: string): TCilTsegLicenseActivation; |
|
Call the API to activate the license key on this device.
See the DeviceName as a computer (real or virtual machine) unique identifier. You can use the operating system name, a device or harddrive identifier depending on the security level you need. CilTseg won't do anithing with it. It's your job to get and check it to verify a license activation with CheckLicenseActivation() method. The call is done in current thread. It can block the process if a timeout occured. | |
![]() |
function CheckLicenseActivation(const ALicenseNumber, AUserEmail, ADeviceName, AActivationNumber: string): TCilTsegLicenseActivation; |
|
Call the API to check the validity of a license activation.
Send the values used during the license activation and the activation number the activation call gave you. The call is done in current thread. It can block the process if a timeout occured. | |
Properties
![]() |
property ServerURL: string read FServerURL write SetServerURL; |
|
URL of the CilTseg instance you want to work with. | |
![]() |
property SoftwareID: integer read FSoftwareID write SetSoftwareID; |
|
Unique ID of the software in the CilTseg backoffice. | |
![]() |
property SoftwareToken: string read FSoftwareToken write SetSoftwareToken; |
|
Unique PRIVATE token of the software in the CilTseg backoffice. | |
Generated by PasDoc 0.16.0.

