Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions examples/LexActivator.pas
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ function LAKeyStatusToString(Item: TLAKeyStatus): string;
This function must be called on every start of your program
before any other functions are called.

NOTE: This function is deprecated. Use SetProductData() instead.

PARAMETERS:
* FilePath - absolute path of the product file (Product.dat)

Expand All @@ -109,7 +111,7 @@ function LAKeyStatusToString(Item: TLAKeyStatus): string;
other functions will work.
*)

procedure SetProductFile(const FilePath: UnicodeString);
procedure SetProductFile(const FilePath: UnicodeString); deprecated 'Use SetProductData instead';

(*
PROCEDURE: SetProductData()
Expand Down Expand Up @@ -313,14 +315,16 @@ procedure SetTwoFactorAuthenticationCode(const TwoFactorAuthenticationCode: Unic
This function must be called before ActivateLicense() or IsLicenseGenuine()
function if 'requireAuthentication' property of the license is set to true.

NOTE: This function is deprecated. Use AuthenticateUser() instead.

PARAMETERS:
* Email - user email address.
* Password - user password.

EXCEPTIONS: ELAProductIdException, ELALicenseKeyException
*)

procedure SetLicenseUserCredential(const Email, Password: UnicodeString);
procedure SetLicenseUserCredential(const Email, Password: UnicodeString); deprecated 'Use AuthenticateUser instead';

(*
PROCEDURE: SetLicenseCallback()
Expand Down Expand Up @@ -429,13 +433,15 @@ procedure SetTrialActivationMetadata(const Key, Value: UnicodeString);
The app version appears along with the activation details in dashboard. It
is also used to generate app analytics.

This function is deprecated. Use SetReleaseVersion() instead.

PARAMETERS:
* AppVersion - string of maximum length 256 characters with utf-8 encoding.

EXCEPTIONS: ELAProductIdException, ELAAppVersionLengthException
*)

procedure SetAppVersion(const AppVersion: UnicodeString);
procedure SetAppVersion(const AppVersion: UnicodeString); deprecated 'Use SetReleaseVersion instead';

(*
PROCEDURE: SetOfflineActivationRequestMeterAttributeUses()
Expand Down Expand Up @@ -591,7 +597,7 @@ function GetFeatureEntitlement(const FeatureName: UnicodeString): TFeatureEntitl
ELABufferSizeException
*)

function GetProductVersionName: UnicodeString;
function GetProductVersionName: UnicodeString; deprecated 'Use GetLicenseEntitlementSetName instead';

(*
FUNCTION: GetProductVersionDisplayName()
Expand All @@ -607,7 +613,7 @@ function GetProductVersionName: UnicodeString;
ELABufferSizeException
*)

function GetProductVersionDisplayName: UnicodeString;
function GetProductVersionDisplayName: UnicodeString; deprecated 'Use GetLicenseEntitlementSetDisplayName instead';

(*
FUNCTION: GetProductVersionFeatureFlag()
Expand All @@ -627,7 +633,7 @@ function GetProductVersionDisplayName: UnicodeString;
ELAFeatureFlagNotFoundException, ELABufferSizeException
*)

function GetProductVersionFeatureFlag(const Name: UnicodeString; out Data: UnicodeString): Boolean;
function GetProductVersionFeatureFlag(const Name: UnicodeString; out Data: UnicodeString): Boolean; deprecated 'Use GetFeatureEntitlement instead';

(*
FUNCTION: GetLicenseMetadata()
Expand Down