Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
Defines a struct to configure the parameters to connect to license server.
class DMDLSConnectionParameters
The URL of the license server.
DMDLSConnectionParameters.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 servers for online verification.
The URL of the standby license server.
DMDLSConnectionParameters.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 servers for online verification.
The handshake code.
DMDLSConnectionParameters.handshake_code
Value Range
Any string value
Default Value
“”
The session password of the handshake code set in license server.
DMDLSConnectionParameters.session_password
Value Range
Any string value
Default Value
“”
Sets the deployment type.
DMDLSConnectionParameters.deployment_type
Value Range
A value of EnumDMDeploymentType
Enumeration items.
Default Value
DM_DT_DESKTOP
See Also
EnumDMDeploymentType
Sets the charge way.
DMDLSConnectionParameters.charge_way
Value Range
A value of EnumDMChargeWay
Enumeration items.
Default Value
DM_CW_AUTO
See Also
EnumDMChargeWay
Sets the method to generate UUID.
DMDLSConnectionParameters.uuid_generation_method
Value Range
A value of EnumDMUUIDGenerationMethod
Enumeration items.
Default Value
DM_UUIDGM_RANDOM
See Also
EnumDMUUIDGenerationMethod
Sets the max days to buffer the license info.
DMDLSConnectionParameters.max_buffer_days
Value Range
[0,0x7fffffff]
Default Value
0
Sets the license modules to use.
DMDLSConnectionParameters.limited_license_modules
Value Range
Each list item can be any one of the EnumLicenseModule
Enumeration items.
Default Value
None
See Also
EnumLicenseModule
Sets the max concurrent instance count.
DMDLSConnectionParameters::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.
The organization ID got from Dynamsoft.
DMDLSConnectionParameters.organization_id
Value Range
Any string value
Default Value
“”
Sets the products to get the license for. Product values can be combined.
DMDLSConnectionParameters.products
Value Range
A combined value of EnumProduct
Enumeration items
Default Value
PROD_ALL
latest version