DMLTSConnectionParameters
Deprecated
. Use DMDLSConnectionParameters instead.
Attributes
Attribute | Type |
---|---|
mainServerURL |
String |
standbyServerURL |
String |
handshakeCode |
String |
sessionPassword |
String |
deploymentType |
int |
chargeWay |
int |
uuidGenerationMethod |
int |
maxBufferDays |
int |
limitedLicenseModules |
int[] |
maxConcurrentInstanceCount |
int |
organizationID |
String |
products |
int |
mainServerURL
The URL of the license server.
String com.dynamsoft.dbr.DMLTSConnectionParameters.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’s license servers for online verification.
standbyServerURL
The URL of the standby license server.
String com.dynamsoft.dbr.DMLTSConnectionParameters.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’s license servers for online verification.
handshakeCode
The handshake code.
String com.dynamsoft.dbr.DMLTSConnectionParameters.handshakeCode
Value Range
Any string value
Default Value
null
sessionPassword
The session password of the handshake code set in license server.
String com.dynamsoft.dbr.DMLTSConnectionParameters.sessionPassword
Value Range
Any string value
Default Value
null
deploymentType
Sets the deployment type.
int com.dynamsoft.dbr.DMLTSConnectionParameters.deploymentType
Value Range
Any one of the EnumDMDeploymentType
Enumeration items.
Default Value
DM_DT_DESKTOP
See Also
EnumDMDeploymentType
chargeWay
Sets the charge way.
int com.dynamsoft.dbr.DMLTSConnectionParameters.chargeWay
Value Range
Any one of the EnumDMChargeWay
Enumeration items.
Default Value
DM_CW_AUTO
See Also
EnumDMChargeWay
uuidGenerationMethod
Sets the method to generate UUID.
int com.dynamsoft.dbr.DMLTSConnectionParameters.uuidGenerationMethod
Value Range
Any one of the EnumDMUUIDGenerationMethod
Enumeration items.
Default Value
DM_UUIDGM_RANDOM
See Also
EnumDMUUIDGenerationMethod
maxBufferDays
Sets the max days to buffer the license info.
int com.dynamsoft.dbr.DMLTSConnectionParameters.maxBufferDays
Value Range
[7,0x7fffffff]
Default Value
7
limitedLicenseModules
Sets the license modules to use.
int[] com.dynamsoft.dbr.DMLTSConnectionParameters.limitedLicenseModules
Value Range
Each array item can be any one of the EnumDMLicenseModule
Enumeration items.
Default Value
null
See Also
EnumDMLicenseModule
maxConcurrentInstanceCount
Sets the max concurrent instance count.
int com.dynamsoft.dbr.DMLTSConnectionParameters.maxConcurrentInstanceCount
Value Range
[1,0x7fffffff]
Default Value
1
Remarks
It works only when chargeWay is setting to DM_CW_CONCURRENT_INSTANCE_COUNT
It is the total number of instances used by multiple processes. For example, if there are two .EXE are running on the server and each .EXE may have 10 instances at most, then you should set maxConcurrentInstanceCount to 20.
organizationID
The organization ID got from Dynamsoft.
String com.dynamsoft.dbr.DMLTSConnectionParameters.organizationID
Value Range
Any string value
Default Value
“”
products
Sets the products to get the license for. Product values can be combined.
int com.dynamsoft.dbr.DMLTSConnectionParameters.products
Value Range
A combined value of Product
Enumeration items
Default Value
PROD_ALL