Licence Protector

SetRegisterSerialNo

Hide Navigation Pane

SetRegisterSerialNo

Previous topic Next topic No directory for this topic  

SetRegisterSerialNo

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

This function can be used, to pass on a Serial Number to the EasyGo dialog (defined with SetRegisterSettings). It can be used in case your application has already stored the Serial Number. It saves the user to type in the Serial Number again.

 

 

 

Name

SetRegisterSerialNo                                                                            

Purpose

Pass over the Serial Number to the EasyGo dialog.

Params

Parameter

Type

Example

Note

Serial Number

String

YkGEz-5EPj3-9E7In-3tI8X-RQU5k-6m140

Must be a Serial Number

AllowChange

Boolean

false

defines, if the user can change/modify the Serial Number in the activation dialog or not.

Returncode

Returncode

Type Integer

Note

0

Serial Number successfully set

Other value

Error occurred, see list of return codes

Usage

To change the current language for messages and the licenseViewer

Sample

 

  iRes := lic.SetRegisterSerialNo('YkGEz-5EPj3-9E7In-3tI8X-RQU5k-6m140',false);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

     << Start EasyGo dialog >>

     ...

See also

SetRegisterSettings, PrepareAndCheck