WebRegister

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

 

 

Name

WebRegister                                                                                        

Purpose

Contacts the Licence Protector Web Activation server to activate a module.

Params

Parameter

Type

Example

Note

Projectname

String

Demo Project

projectname, if empty the internal projectname of the license file is used – identifies the project on the Web Activation Server

ModuleID

String

D1001

ModuleID – identifies the module

ID

String

Abc

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

Returncode

Returncode

Type Integer

Note

0

Module successfully activated

3001

The Web Activation Server was not reachable.

3002-3999

Errors on the Web Activation Server, see Web Activation Documentation

Other return codes

Operation failed, see list of return codes

Usage

Used to activate one or more modules.

Sample

 

  iRes := lic.WebRegister(‘’, ‘D1001’, ‘invoice10321’, ‘’);

  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 WebRegister command would display screens indicating that an online validation is done. The screens can be suppressed using ShowWAStartPage, ShowWAProgressPage and ShowWAResultPage

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