Dev Center
Swift
Objective-C
Table of contents

DMDLSConnectionParameters

Note:

  • This class is deprecated in version 9.0.
  • Please use initLicense to activate the license for v9.0+ versions.

Defines a struct to configure the parameters to connect to Dynamsoft License Server.

class com.dynamsoft.dbr.DMLTSConnectionParameters
Attributes Type Descriptions
mainServerURL String The URL of the Dynamsoft License Server.
standbyServerURL String The URL of the standby Dynamsoft License Server.
handshakeCode String The handshake code.
sessionPassword String The session password of the handshake code set in Dynamsoft License Server.
uuidGenerationMethod int Sets the method to generate UUID.
maxBufferDays int Sets the max days to buffer the license info.
limitedLicenseModules int[] Sets the license modules to use.
chargeWay int Sets the charge way.
organizationID String The organization ID got from Dynamsoft.

mainServerURL

The URL of the Dynamsoft License Server.

String 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.

String 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.

String handshakeCode

Value Range

Any string value

Default Value

null

sessionPassword

The session password of the handshake code set in Dynamsoft License Server.

String sessionPassword

Value Range

Any string value

Default Value

null

uuidGenerationMethod

Sets the method to generate UUID.

int uuidGenerationMethod

Value Range

Any one of the EnumDMUUIDGenerationMethodenumeration items.

Default Value

DM_UUIDGM_RANDOM

maxBufferDays

Sets the max days to buffer the license info.

int maxBufferDays

Value Range

[7,0x7fffffff]

Default Value

7

limitedLicenseModules

Sets the license modules to use.

List<Integer> limitedLicenseModules

Value Range

A list of the EnumDMLicenseModule enumeration items.

Default Value

null

chargeWay

Sets the charge way.

int chargeWay

Value Range

Any one of the EnumDMChargeWay enumeration items.

organizationID

The organization ID got from Dynamsoft.

String organizationID

Value Range

Any string value

Default Value

“200001”

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • 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
    • Version 7.6.0
    • Version 7.5.0
Change +