Licence Protector

SetRegisterLicTransfer

Hide Navigation Pane

SetRegisterLicTransfer

Previous topic Next topic  

SetRegisterLicTransfer

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

This command enables the license transfer option from PC A to PC B.  If this command is not used, the license cannot be transferred at a later point of time.

 

It must be used before the command PrepareAndCheck

 

You can transfer only a single module or a complete license file including all modules. The license transfer needs an online connection to the Activation Server and is therefore only available, if the product activation method was online.

 

 

Name

SetRegisterLicTransfer                                                                        

Purpose

Adds the information on the Activation Server which is needed for a license transfer

Params

Parameter

Type

Example

Note

TransferLicence

Boolean

true

true = enables a complete license file transfer including all modules and the complete license file content

false = only the module will be transferred

LVSName

String

default

name to identify the license file. One ID can store multiple files using different names like

default-backup-January2010
default-backup-February2010

Code

String

this is like a password string

ensures, that a file can only be downloaded when a password is provided. The password is also used with the commands UploadLic, DownloadLic. Should be maximum 40 characters.

Returncode

Returncode

Type Integer

Note

0

Command was successful

Other return codes

Error occurred, see list of return codes

Sample

 

  iRes := lic.SetRegisterLicTransfer(true, ‘default’, ‘this is like a password string’);

  if iRes = 0 then

  begin

    << command successful >>

     ...

  end

 

  else

  begin

    << other errors >>>

     ...

   

See also

TransferLicence