Show/Hide Toolbars

Licence Protector 5

Navigation: Implementing Licence Protector using default workflow

Configuration file - changing settings

Scroll Prev Top Next More

Starting with version 5.,1 a configuration file allows changing settings without the need to make a source code change.

 

The following settings can be modified:

 

Share mode for network licensing

Concurrent user level to set options for concurrent user licensing

Enable or disable logging

Enable / Disable backup mode for network license

Timeout for communication with the Activation Server 6

Enable / Disable usage metrics

 

The configuration file must

 

be in the same folder like the license file

have the same name like the license file but with the extension .config

 

Once the values are applied, they are permanent as they are either stored in the license file or in the registry.

 

Example

License file is in ..\server folder\myapp5.lic

Configuration file would be:  ..\server folder\myapp5.config

 

Example file

 

<LPPatch>

<OpenShareMode>1</OpenShareMode>

<ConcurrentUserLevel>1</ConcurrentUserLevel>

<SetLogging>c:\tmp\</SetLogging>

<SetBackupInterval>60</SetBackupInterval>

<SetWebRequestTimeOutInSec>60</SetWebRequestTimeOutInSec>

<SetSignalState>off</SetSignalState>

</LPPatch>

 

 

Parameter

Values

Explanation

<OpenShareMode>[

0, 1 , 2

API command SetOpenShareMode

<ConcurrentUserLevel>

0, 1

API command ConcurrentUserLevel

<SetLogging>

empty for off, path to enable logging into that folder

API command SetLogging. The folder must exist. Could alternatively be enabled using the License Viewer

<SetBackupInterval>

0 = backup off, other value = backup interval in seconds

API command SetBackupInterval

<SetWebRequestTimeOutInSec>

Timeout in seconds

API command SetWebRequestTimeOutInSec

<SetSignalState>

on, off or 3,0

Enables or disables usage metrics. API command SetSignalState

 

 

The file can be found in the installation folder: ..\EasyGo\sample configuration.config