Name

Refresh                                                                                                

Purpose

Reloads the already prepared license file into the Licence Protector object.

Params

Parameter

Type

Example

Note

None

 

 

 

Returncode

Returncode

Type Integer

Note

0

ok

Other return codes

Operation failed, see list of return codes

Usage

Refresh should be used to explicitly reload the license file.

Sample

 

  iRes = lic.Refresh;

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

    << everything is fine, continue >>

     ...

 

See also

Prepare