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 |
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.
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.
The handshake code.
Java:
dceParameters.handshakeCode = "";
Kotlin:
dceParameters!!.handshakeCode = ""
Value range Any string value
Default value null
The organization ID
Java:
dceParameters.organizationID = "";
Kotlin:
dceParameters!!.organizationID = ""
Value range Any string value
Default value null
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
Sets the method to generate UUID.
Java:
dceParameters.uuidGenerationMethod = int;
Kotlin:
dceParameters!!.uuidGenerationMethod = int
Value range
Any one of the EnumDMUUIDGenerationMethod
Enumeration items.
Default value DM_UUIDGM_RANDOM
See also
EnumDMUUIDGenerationMethod
Sets the max days to buffer the license info.
Java:
dceParameters.maxBufferDays = int;
Kotlin:
dceParameters!!.maxBufferDays = int
Value range [7,0x7fffffff]
Default value 7
Sets the charge way.
Java:
dceParameters.chargeWay = int;
Kotlin:
dceParameters!!.chargeWay = int
Value range
Any one of the EnumDMChargeWay
Enumeration items.
Default value DM_CW_AUTO
See also
EnumDMChargeWay
Set the products. This is a combined value of Product Enumration items.
Java:
dceParameters.products = int;
Kotlin:
dceParameters!!.products = int
Value range
Any one of the EnumProduct
Enumeration items.
See also
EnumProduct
latest version