Navigation:  Function Reference >

WebRegister

Previous pageReturn to chapter overviewNext page

 

 

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

 

 


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