DMLTSConnectionParameters
Defines a struct to configure the parameters to connect to license tracking server.
Typedefs
class DMLTSConnectionParameters
Attributes
main_server_url
The URL of the license tracking server.
DMLTSConnectionParameters.main_server_url
-
Value range
Any string value -
Default value
“” -
Remarks
If you choose “Dynamsoft-hosting”, then no need to change the value of MainServerURL and StandbyServerURL. When both are set to null (default value), it will connect to Dynamsoft’s license tracking servers for online verification.
standby_server_url
The URL of the standby license tracking server.
DMLTSConnectionParameters.standby_server_url
-
Value range
Any string value -
Default value
“” -
Remarks
If you choose “Dynamsoft-hosting”, then no need to change the value of MainServerURL and StandbyServerURL. When both are set to null (default value), it will connect to Dynamsoft’s license tracking servers for online verification.
handshake_code
The handshake code.
DMLTSConnectionParameters.handshake_code
-
Value range
Any string value -
Default value
“”
session_password
The session password of the handshake code set in license tracking server.
DMLTSConnectionParameters.session_password
-
Value range
Any string value -
Default value
“”
deployment_type
Sets the deployment type.
DMLTSConnectionParameters.deployment_type
-
Value range
A value ofEnumDMDeploymentType
Enumeration items. -
Default value
DM_DT_DESKTOP
-
See also
EnumDMDeploymentType
charge_way
Sets the charge way.
DMLTSConnectionParameters.charge_way
-
Value range
A value ofEnumDMChargeWay
Enumeration items. -
Default value
DM_CW_AUTO
-
See also
EnumDMChargeWay
uuid_generation_method
Sets the method to generate UUID.
DMLTSConnectionParameters.uuid_generation_method
-
Value range
A value ofEnumDMUUIDGenerationMethod
Enumeration items. -
Default value
DM_UUIDGM_RANDOM
-
See also
EnumDMUUIDGenerationMethod
max_buffer_days
Sets the max days to buffer the license info.
DMLTSConnectionParameters.max_buffer_days
-
Value range
[0,0x7fffffff] -
Default value
0
limited_license_modules
Sets the license modules to use.
DMLTSConnectionParameters.limited_license_modules
-
Value range
Each list item can be any one of theEnumLicenseModule
Enumeration items. -
Default value
None -
See also
EnumLicenseModule
max_concurrent_instance_count
Sets the max concurrent instance count.
DMLTSConnectionParameters::max_concurrent_instance_count
-
Value range
[1,0x7fffffff] - Default value
1 - Remarks
It works only when charge_way is setting to DM_CW_CONCURRENT_INSTANCE_COUNT It is the total number of instances used by multiple processes. For example, if there are two .EXE are running on the server and each .EXE may have 10 instances at most, then you should set maxConcurrentInstanceCount to 20.