Navigation:  Function Reference >

CheckLicenceID

Previous pageReturn to chapter overviewNext page

 

Name

CheckLicenceID                                                                                   

Purpose

Compares the delivered ID with the Licence file ID.

Params

Parameter

Type

Example

Note

LicenceID

Integer

123

The licence file ID can be displayed with the Licence Viewer or in the Licence Generator

Returncode

Returncode

Type Integer

Note

0

The licence ID matches the licence ID in the licence file

1024

The licence ID does not matches the licence ID in the licence file

All other values see return codes

The operation was not successful

Usage

E.g. if you want to implement a hardware independent copy protectionCopy Protection mechanism.

Sample

 

  iRes := lic. CheckLicenceID(iNr);

  if iRes = 0 then

  begin

     << it matches, you can continue…>>

     ...

  end

  else

  begin

     << it does not match or there was an error >>

     ...

See also

Copy ProtectionCopy Protection, GetLicFileID

 

 


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