Show/Hide Toolbars

Licence Protector 5

 

Define the mode how file sharing for a network license is handled. The value can be retrieved with GetOpenSharedMode.

Default value is 0.

 

The command must be used before any Prepare command (license file open).

 

 

Name

SetOpenShareMode                                                                            

Purpose

Define the mode how file sharing for a network license is handled

Params

Parameter

Type

Example

Note

iMode

Integer

1

0 = license file is only locked for certain write operations (default)

1 = deny writing -  while there is a read , the license file is locked for writing (recommended in larger installations or if you experience problems)

2= share exclusive - other users can not open the file while an update on the license file is performed (not recommend)

Returncode

Returncode

Type Integer

Note

0

Share Mode successfully set

Other value

Error occurred, see list of return codes

See also

GetOpenShareMode

 

 

For a network license, use a configuration file where you can change the following values if required.

 

Share Mode

ConcurrentUserLevel

SetCheckInterval

SetLogging

SetBackupInterval

SetWebRequestTimeOutInSec