Dev Center
Table of contents

DM_LTSConnectionParameters

Deprecated. Use DM_DLSConnectionParameters instead.

Typedefs

typedef struct tagDM_DLSConnectionParameters  DM_LTSConnectionParameters

Attributes

Attribute Type
mainServerURL char*
standbyServerURL char*
handshakeCode char*
sessionPassword char*
deploymentType DM_DeploymentType
chargeWay DM_ChargeWay
UUIDGenerationMethod DM_UUIDGenerationMethod
maxBufferDays int
limitedLicenseModulesCount int
limitedLicenseModules DM_LicenseModule*
maxConcurrentInstanceCount int
organizationID char*
products int
reserved char[52]

mainServerURL

The URL of the license server.

char* mainServerURL

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.

standbyServerURL

The URL of the standby license server.

char* standbyServerURL

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.

handshakeCode

The handshake code.

char* handshakeCode

Value Range
Any string value

Default Value
“”

sessionPassword

The session password of the handshake code set in license server.

char* sessionPassword

Value Range
Any string value

Default Value
“”

deploymentType

Sets the deployment type.

DM_DeploymentType deploymentType

Value Range
A value of DM_DeploymentType Enumeration items.

Default Value
DM_DT_DESKTOP

See Also
DM_DeploymentType

chargeWay

Sets the charge way.

DM_ChargeWay chargeWay

Value Range
A value of DM_ChargeWay Enumeration items.

Default Value
DM_CW_AUTO

See Also
DM_ChargeWay

UUIDGenerationMethod

Sets the method to generate UUID.

DM_UUIDGenerationMethod UUIDGenerationMethod

Value Range
A value of DM_UUIDGenerationMethod Enumeration items.

Default Value
DM_UUIDGM_RANDOM

See Also
DM_UUIDGenerationMethod

maxBufferDays

Sets the max days to buffer the license info.

int maxBufferDays

Value Range
[7,0x7fffffff]

Default Value
7

limitedLicenseModulesCount

Sets the count of license modules to use.

int limitedLicenseModulesCount

Value Range
[0,0x7fffffff]

Default Value
0

limitedLicenseModules

Sets the license modules to use.

DM_LicenseModule* limitedLicenseModules

Value Range
Each array item can be any one of the DM_LicenseModule Enumeration items.

Default Value
NULL

See Also
DM_LicenseModule

maxConcurrentInstanceCount

Sets the max concurrent instance count.

int maxConcurrentInstanceCount

Value Range
[1,0x7fffffff]

Default Value
1 Remarks
It works only when chargeWay 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.

organizationID

The organization ID got from Dynamsoft.

char* organizationID

Value Range
Any string value

Default Value
“”

products

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

int products

Value Range
A combined value of Product Enumeration items

Default Value
PROD_ALL

reserved

Reserved memory for the struct. The length of this array indicates the size of the memory reserved for this struct.

char reserved[52]

This page is compatible for:

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.4.10
    • Version 10.2.10
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • 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
  • Documentation Homepage
Change +