Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DMLTSConnectionParameters

Deprecated. Use DMDLSConnectionParameters instead.

Typedefs

class DMLTSConnectionParameters

Attributes

Attribute Type
main_server_url str
standby_server_url str
handshake_code str
session_password str
deployment_type EnumDMDeploymentType
charge_way EnumDMChargeWay
uuid_generation_method EnumDMUUIDGenerationMethod
max_buffer_days int
limited_license_modules List<EnumLicenseModule>
max_concurrent_instance_count int
organization_id str
products EnumProduct

main_server_url

The URL of the license 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 servers for online verification.

standby_server_url

The URL of the standby license 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 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 server.

DMLTSConnectionParameters.session_password

Value Range
Any string value

Default Value
“”

deployment_type

Sets the deployment type.

DMLTSConnectionParameters.deployment_type

Value Range
A value of EnumDMDeploymentType Enumeration items.

Default Value
DM_DT_DESKTOP

See Also
EnumDMDeploymentType

charge_way

Sets the charge way.

DMLTSConnectionParameters.charge_way

Value Range
A value of EnumDMChargeWay 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 of EnumDMUUIDGenerationMethod 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 the EnumLicenseModule 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.

organization_id

The organization ID got from Dynamsoft.

DMLTSConnectionParameters.organization_id

Value Range
Any string value

Default Value
“”

products

Sets the products to get the license for. Product values can be combined.

DMLTSConnectionParameters.products

Value Range
A combined value of EnumProduct Enumeration items

Default Value
PROD_ALL

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +