Resource Base
Table of contents

com.dynamsoft.dce.DMDLSConnectionParameters

DMDLSConnectionParameters is the class that defines a struct to configure the parameters to connect to the Dynamsoft License Server.

Java:

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

Kotlin:

private var dceParameters: com.dynamsoft.dce.DMDLSConnectionParameters? = null
dceParameters = com.dynamsoft.dce.DMDLSConnectionParameters()
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 Dynamsoft License 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 License Servers for online verification.

standbyServerURL

The URL of the standby Dynamsoft License 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 License 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 Dynamsoft License 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:

latest version

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