Licence Protector

WebRegisterExt

Hide Navigation Pane

WebRegisterExt

Previous topic Next topic  

WebRegisterExt

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

 

Command to make an online activation of a module, download a license file and allow a license move. It will always connect to the Activation Server, download the license file (if specified) and activate the product. For activation, the workflow rule defined on the Activation Server is used - see Project.config file

 

 

See also CheckModule which makes an online validation of a module.

 

Name

WebRegisterExt                                                                                    

Purpose

Contacts the Activation Server to activate a module.

Params

Parameter

Type

Example

Note

Projectname

String

demo-easygo

Projekt Name configured in the project.config file on the Activation Server. If empty the internal project name of the license file is used

ModuleID

String

QHD001

ModuleID – identifies the module

ID

String

yuGEI-5EPc3-9E7Il-3tI8X-7QU5k-6h14R

Identifier which is used to check and register this activation. Should be a unique ID like Serial Number, Invoice Number

eMail

String

john@mycompany.com

eMail address, currently only to be protocolled in the Web Activation server

RequestLicData

Boolean

True

If set to true, the license file is downloaded from the Activation Server

Name

String

default

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

activation30

Code

String

this is like a password string

ensures, that a file can only be downloaded when a password is provided in the DLL command DownloadLic. Should be maximum 40 characters

DownloadFull

Boolean

True

If true, the complete license file is downloaded it a license file exists for the specified ID and Name. Otherwise only the

changes made on the Activation Server are downloaded and updated in the local license file

Returncode

Returncode

Type Integer

Note

0

Module successfully activated

3001

The Activation Server was not reachable.

3002-3999

Errors on the Activation Server, see Activation Server error codes

Other return codes

Operation failed, see list of return codes

Usage

Used to activate one or more modules.

Sample

 

  iRes := lic.WebRegisterExt(‘’, ‘QHD001’, ‘yuGEI-5EPc3-9E7Il-3tI8X-7QU5k-6h14R’, ‘john@mycompany.com’,True,'activation30','thismypassword76R§',true);

  if iRes = 0 then

  begin

    << Module D1001 successfully activated >>

     ...

  end

  else if iRes = 3001 then

  begin

    << Web Activation could not be reached, please check connection >>

     ...

  end

  else

  begin

    << other errors >>>

     ...

   

See also

GetWebActivation, Web Activation, WebServiceURL, ShowWAStartPage, ShowWAProgressPage, ShowWAResultPage, UseLocalProxy, UseLocalIEProxy, LocalProxyServer, LocalProxyPort, Projectname

 

 

 

 

Ports and Proxy Settings

 

The Online Activation uses an http request on Port 80 to communicate with the Activation Server. A router with a standard firewall (IP-Filter) will not detect the difference to a Browser request and let the activation pass. A local personal firewall like McAfee or Norton will pop-up and ask, if the request should be permitted. Only a 'real' application firewall will block the request and an administrator has to open port 80.

 

Proxy settings are retrieved from the Browser but can be changed with the commands LocalProxPort, LocalProxyServer, UseLocalIIEProxy, UseLocalProxy.

 

Only the Licence Protector DLL can talk to the Activation Server.

 

 

 

The WebRegisterExt command would display screens indicating that an online validation is done. The screens can be suppressed using ShowWAStartPage, ShowWAProgressPage and ShowWAResultPage