Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

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

DM_LTSConnectionParameters

Defines a struct to configure the parameters to connect to license tracking server.

Typedefs

typedef struct tagDM_LTSConnectionParameters  DM_LTSConnectionParameters

Attributes

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

mainServerURL

The URL of the license tracking server.

const char*  tagDM_LTSConnectionParameters::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 tracking servers for online verification.

standbyServerURL

The URL of the standby license tracking server.

const char*  tagDM_LTSConnectionParameters::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 tracking servers for online verification.

handshakeCode

The handshake code.

const char*  tagDM_LTSConnectionParameters::handshakeCode

Value Range

Any string value

Default value

””

sessionPassword

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

const char*  tagDM_LTSConnectionParameters::sessionPassword

Value Range

Any string value

Default value

””

deploymentType

Sets the deployment type.

DM_DeploymentType tagDM_LTSConnectionParameters::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 tagDM_LTSConnectionParameters::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 tagDM_LTSConnectionParameters::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 tagDM_LTSConnectionParameters::maxBufferDays

Value Range

[0,0x7fffffff]

Default value

0

limitedLicenseModulesCount

Sets the count of license modules to use.

int tagDM_LTSConnectionParameters::limitedLicenseModulesCount

Value Range

[0,0x7fffffff]

Default value

0

limitedLicenseModules

Sets the license modules to use.

DM_LicenseModule* tagDM_LTSConnectionParameters::limitedLicenseModules

Value Range

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

Default value

NULL

See also

DM_LicenseModule

reserved

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

char tagDM_LTSConnectionParameters::reserved[64]

maxConcurrentInstanceCount

Sets the max concurrent instance count.

int tagDM_LTSConnectionParameters::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.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

version 1.2

  • Latest version(3.2.20)
  • Version 3.x
    • Version 3.2.10
    • Version 3.2.0
    • Version 3.0.30
    • Version 3.0.20
    • Version 3.0.10
    • Version 3.0.0
  • Version 2.x
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.0.0
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support