AddFeature(LicenseCode: String; [MakePermanent: Boolean=False]): UiLicenseStatusCode;
LicenseCode. License activation code.
MakePermanent. The parameter is used to save activation code:
If the parameter is set to True, the code is saved into the license file: %PROGRAMDATA%\Foresight\Foresight Analytics Platform\lservrc.
If the parameter is set to False, the code will be added only to the current session. The default parameter value is False.
The AddFeature method adds a license code.
NOTE. The method is not intended to be used in application code. It is kept for compatibility with previous versions.
See also: