Dev Center
Table of contents

DMLTSConnectionParameters

Deprecated. Use DMDLSConnectionParameters instead.

public class DMLTSConnectionParameters

Attributes

Attribute Type
MainServerURL string
StandbyServerURL string
HandshakeCode string
SessionPassword string
DeploymentType EnumDMDeploymentType
ChargeWay EnumDMChargeWay
UUIDGenerationMethod EnumDMUUIDGenerationMethod
MaxBufferDays int
LimitedLicenseModules EnumDMLicenseModule[]
MaxConcurrentInstanceCount int
OrganizationID string
Products int

MainServerURL

The URL of the license server.

string Dynamsoft.DMLTSConnectionParameters.MainServerURL

Value Range
Any string value

Default Value
null

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.

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.

string Dynamsoft.DMLTSConnectionParameters.StandbyServerURL

Value Range
Any string value

Default Value
null

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.

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.

string Dynamsoft.DMLTSConnectionParameters.HandshakeCode

Value Range
Any string value

Default Value
null

SessionPassword

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

string Dynamsoft.DMLTSConnectionParameters.SessionPassword

Value Range
Any string value

Default Value
null

DeploymentType

Sets the deployment type.

EnumDMDeploymentType Dynamsoft.DMLTSConnectionParameters.DeploymentType

Value Range
Any one of the EnumDMDeploymentType Enumeration items.

Default Value
DM_DT_DESKTOP

See Also
EnumDMDeploymentType

ChargeWay

Sets the charge way.

EnumDMChargeWay Dynamsoft.DMLTSConnectionParameters.ChargeWay

Value Range
Any one of the EnumDMChargeWay Enumeration items.

Default Value
DM_CW_AUTO

See Also
EnumDMChargeWay

UUIDGenerationMethod

Sets the method to generate UUID.

EnumDMUUIDGenerationMethod Dynamsoft.DMLTSConnectionParameters.UUIDGenerationMethod

Value Range
Any one of the EnumDMUUIDGenerationMethod Enumeration items.

Default Value
DM_UUIDGM_RANDOM

See Also
EnumDMUUIDGenerationMethod

MaxBufferDays

Sets the max days to buffer the license info.

int Dynamsoft.DMLTSConnectionParameters.MaxBufferDays

Value Range
[7,0x7fffffff]

Default Value
7

LimitedLicenseModules

Sets the license modules to use.

EnumDMLicenseModule[] Dynamsoft.DMLTSConnectionParameters.LimitedLicenseModules

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

Default Value
null

See Also
EnumDMLicenseModule

MaxConcurrentInstanceCount

Sets the max concurrent instance count.

int Dynamsoft.DMLTSConnectionParameters.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.

string Dynamsoft.DMLTSConnectionParameters.OrganizationID

Value Range
Any string value

Default Value
null

Products

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

int Dynamsoft.DMLTSConnectionParameters.Products

Value Range
A combined value of Product Enumeration items

Default Value
PROD_ALL

This page is compatible for:

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • 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
Change +