Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
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 2.3.2
  • Version 2.3.1
  • Version 2.1.0
  • Version 2.0.0
  • Version 1.0.3
  • Version 1.0.1
  • Version 1.0.0
Change +
© 2003–2022 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support