Navigation:  Function Reference >

SetVerificationProduct

Previous pageReturn to chapter overviewNext page

 

Name

SetVerificationProduct                                                                           

Purpose

Sets the Product for the CheckLicence call. That is needed for the “Adopt”-Button on the Licence Viewer

Params

Parameter

Type

Example

Note

ID

String

D1001

This value is used for the next “Adopt” action

Returncode

Returncode

Type Integer

Note

0

The Verification Product was successfully set

All other values see return codes

The operation was not successful

Usage

Sets the value that is necessary for the next implicit CheckLicence call triggered by the Licence Viewers “Adopt” button

Notice: You should explicitly set the value in the CheckLicence call, even if you have set it with SetVerificationProduct

Notice: A CheckLicence-call will do an implicit SetVerificationProduct

Sample

 

  iRes := lic.SetVerificationProduct(D1001);

  if iRes = 0 then

  begin

     << Verification Product successfully set. Licence Viewers Adopt now has the necessary parameter. >>

  ...

  end

See also

SetVerificationID, CheckLicence, DeactivateLicence, LicenceVerification, NextVerification

 

 


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