Navigation:  Function Reference >

ApplyInvisibleKey

Previous pageReturn to chapter overviewNext page

 

 

Name

ApplyInvisibleKey                                                                               

Purpose

Insert an Activation Key to change the properties of a module or to change the Copy Protection. The difference to ApplyActivationKey is that this key is not displayed inside Licence Viewer.

Params

Parameter

Type

Example

Note

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 licence 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

Add a received Activation Key to the licence file or open a dialog to let the user enter a needed key. Note: Only those keys with appropriate installation codes could be applied. The entered key is in Licence Viewer only displayed as a sequence of stars not as the real characters. This may be useful to use general keys that should not be copied to other systems.

Sample

 

  iRes := lic.ApplyInvisibleKey(sTheNewKey);

  if iRes <> 0 then

  begin

     << an error occurred >>

     ...

  end

  else

  begin

     << everything is fine, continue >>

     ...

See also

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

 

 


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