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