Resource Base
Table of contents

DMDLSConnectionParameters

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

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

Value Range

Any string value

Default Value

null

Code Snippet

dceParameters.mainServerURL = "";

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.

Value Range

Any string value

Default Value

null

Code Snippet

dceParameters.standbyServerURL = "";

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.

Value Range

Any string value

Default Value

null

Code Snippet

dceParameters.handshakeCode = "";

 

organizationID

The organization ID

Value Range

Any string value

Default Value

null

Code Snippet

dceParameters.organizationID = "";

 

sessionPassword

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

Value Range

Any string value

Default Value

null

Code Snippet

dceParameters.sessionPassword = "";

 

uuidGenerationMethod

Sets the method to generate UUID.

Value Range

Any one of the EnumDMUUIDGenerationMethod Enumeration items.

Default Value

DM_UUIDGM_RANDOM

Code Snippet

dceParameters.uuidGenerationMethod = EnumCameraDMUUIDGenerationMethod.DM_UUIDGM_RANDOM;

See Also

EnumDMUUIDGenerationMethod

 

maxBufferDays

Sets the max days to buffer the license info.

Value Range

[7,0x7fffffff]

Default Value

7

Code Snippet

dceParameters.maxBufferDays = 7;

 

chargeWay

Sets the charge way.

Value Range

Any one of the EnumDMChargeWay Enumeration items.

Default Value

DM_CW_AUTO

Code Snippet

dceParameters.chargeWay = EnumDMChargeWay.DM_CW_DEVICE_COUNT;

See Also

EnumDMChargeWay

 

products

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

Value Range

Any one of the EnumProduct Enumeration items.

Code Snippet

dceParameters.products = EnumProduct.PROD_DBR;

See Also

EnumProduct

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 4.x
    • Version 4.2.0
    • Version 4.0.2
    • Version 4.0.1
    • Version 4.0.0
  • Version 3.x
    • Version 3.0.3
    • Version 3.0.2
    • Version 3.0.1
    • Version 3.0.0
  • Version 2.x
    • Version 2.3.21
    • Version 2.3.20
    • Version 2.3.12
    • Version 2.3.11
    • Version 2.3.10
    • Version 2.3.5
    • Version 2.3.4
    • Version 2.3.3
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.3.0
    • Version 2.1.4
    • Version 2.1.3
    • Version 2.1.1
    • Version 2.0.0
Change +