ApplyActivationKeyForProject

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

 

Name

ApplyActivationKeyForProject                                                            

Purpose

Insert an Activation Key to change the properties of a module or to change the Copy Protection. The difference to standard ApplyActivationKey is that a project name for a potential Web Activation check of the key can be delivered. This is only necessary if a different project name then the one stored in the license file should be used

Params

Parameter

Type

Example

Note

Projectname

String

Demo Project

If empty the Projectname of the license file is used

Activation Key

String

UIGC345EPR5820AHKLD35PM5F3M323K

A key that is 32 characters long or an empty string to open a input window

Returncode

Returncode

Type Integer

Note

0

The Activation Key was successfully added to the license file

258

The Activation Key could not be read, possibly a wrong key

257

This Activation Key was already used

Other return codes

Operation failed, see list of return codes

Usage

Same as ApplyActivationKey. If the key have to be checked with the Web Activation server  the Projectname is used to determine the Web Activation project on the server. If Projectname is empty then the internal Projectname of the license file is used. This is exactly the same as if ApplyActivationKey is used.

Check Web Activation Documentation for further details.

Sample

 

  iRes := lic.ApplyActivationKeyForProject(‘My Project’, sTheNewKey);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

    << everything is fine, continue >>

     ...

See also

ApplyActivationKey, Copy Protection, Activation Keys, Web Activation, Projectname

 

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?fr_applyactivationkeyforproject.htm