GetLicenseType

Top  Previous  Next

This function returns type of license code.

By default, project has only one license type (Full version, TypeID = 1).

If you need more than one license type you should add them manually on the Purchases tab page.

 

function GetLicenseType():Integer;

 

Parameters

 

 No parameters.

 

Return value

 

 Returns type of license code. 
 Returns -1 if license code is not available (software is not purchased, trial period).

 

Requirements

 

 Library: IntelliProtectorDummy.lib

 Source: UnitIntelliProtector.pas

 

Example

 

uses UnitIntelliProtector;

//...

procedure TFormMain.ShowLicenseType();

begin

   lLicenseType.Caption := IntelliProtector.GetLicenseType();  

end;

 

 

 





Copyright © 2015 IntelliProtector.com