Resource Base
Table of contents

com.dynamsoft.dce.DMLTSConnectionParameters

DMLTSConnectionParameters is the class that defines a struct to configure the parameters to connect to the license tracking server.

Java:

private com.dynamsoft.dce.DMLTSConnectionParameters dceParameters;
dceParameters = new com.dynamsoft.dce.DMLTSConnectionParameters();

Kotlin:

private var dceParameters: com.dynamsoft.dce.DMLTSConnectionParameters? = null
dceParameters = com.dynamsoft.dce.DMLTSConnectionParameters()
Attribute Name Type
mainServerURL String
standbyServerURL String
handshakeCode String
organizationID String
sessionPassword String
uuidGenerationMethod int
maxBufferDays int
limitedLicenseModules list
chargeWay int
products int

mainServerURL

The URL of the license tracking server.

Java:

dceParameters.mainServerURL = "";

Kotlin:

dceParameters!!.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 tracking servers for online verification.

standbyServerURL

The URL of the standby license tracking server.

Java:

dceParameters.standbyServerURL = "";

Kotlin:

dceParameters!!.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 tracking servers for online verification.

handshakeCode

The handshake code.

Java:

dceParameters.handshakeCode = "";

Kotlin:

dceParameters!!.handshakeCode = ""
  • Value range Any string value

  • Default value null

organizationID

The organization ID

Java:

dceParameters.organizationID = "";

Kotlin:

dceParameters!!.organizationID = ""
  • Value range Any string value

  • Default value null

sessionPassword

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

Java:

dceParameters.sessionPassword = "";

Kotlin:

dceParameters!!.sessionPassword = ""
  • Value range Any string value

  • Default value null

uuidGenerationMethod

Sets the method to generate UUID.

Java:

dceParameters.uuidGenerationMethod = int;

Kotlin:

dceParameters!!.uuidGenerationMethod = int

maxBufferDays

Sets the max days to buffer the license info.

Java:

dceParameters.maxBufferDays = int;

Kotlin:

dceParameters!!.maxBufferDays = int
  • Value range [7,0x7fffffff]

  • Default value 7

chargeWay

Sets the charge way.

Java:

dceParameters.chargeWay = int;

Kotlin:

dceParameters!!.chargeWay = int

products

Set the products. This is a combined value of Product Enumration items.

Java:

dceParameters.products = int;

Kotlin:

dceParameters!!.products = int

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

version 1.0.1

    • Latest version
    • Version 1.0.1
    • Version 1.0
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support