DMLTSConnectionParameters
Defines a struct to configure the parameters to connect to license tracking server.
Attributes
Attribute | Type |
---|---|
MainServerURL |
string |
StandbyServerURL |
string |
HandshakeCode |
string |
SessionPassword |
string |
DeploymentType |
EnumDMDeploymentType |
ChargeWay |
EnumDMChargeWay |
UUIDGenerationMethod |
EnumDMUUIDGenerationMethod |
MaxBufferDays |
int |
LimitedLicenseModules |
EnumDMLicenseModule[]] |
MaxConcurrentInstanceCount |
int |
OrganizationID |
string |
Products |
int |
MainServerURL
The URL of the license tracking server.
string Dynamsoft.DMLTSConnectionParameters.MainServerURL
Value Range
Any string value
Default value
””
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 tracking servers for online verification.
StandbyServerURL
The URL of the standby license tracking server.
string Dynamsoft.DMLTSConnectionParameters.StandbyServerURL
Value Range
Any string value
Default value
””
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 tracking servers for online verification.
HandshakeCode
The handshake code.
string Dynamsoft.DMLTSConnectionParameters.HandshakeCode
Value Range
Any string value
Default value
””
SessionPassword
The session password of the handshake code set in license tracking server.
string Dynamsoft.DMLTSConnectionParameters.SessionPassword
Value Range
Any string value
Default value
””
DeploymentType
Sets the deployment type.
EnumDMDeploymentType Dynamsoft.DMLTSConnectionParameters.DeploymentType
Value Range
Any one of the EnumDMDeploymentType
Enumeration items.
Default value
DM_DT_DESKTOP
See also
ChargeWay
Sets the charge way.
int Dynamsoft.DMLTSConnectionParameters.ChargeWay
Value Range
A value of EnumDMChargeWay
Enumeration items.
Default value
DM_CW_AUTO
See also
UUIDGenerationMethod
Sets the method to generate UUID.
int Dynamsoft.DMLTSConnectionParameters.UUIDGenerationMethod
Value Range
A value of EnumDMUUIDGenerationMethod
Enumeration items.
Default value
DM_UUIDGM_RANDOM
See also
MaxBufferDays
Sets the max days to buffer the license info.
int Dynamsoft.DMLTSConnectionParameters.MaxBufferDays
Value Range
[0,0x7fffffff]
Default value
7
LimitedLicenseModules
Sets the license modules to use.
List<Integer> Dynamsoft.DMLTSConnectionParameters.LimitedLicenseModules
Value Range
A list of the EnumDMLicenseModule
Enumeration items.
Default value
null
See also
MaxConcurrentInstanceCount
Sets the max concurrent instance count.
int Dynamsoft.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 Dynamsoft.DMLTSConnectionParameters.OrganizationID
Value Range
Any string value
Default value
””
products
Sets the products to get the license for. Product values can be combined.
int Dynamsoft.DMLTSConnectionParameters.Products
Value Range
A combine value of EnumProduct
Enumeration items.
Default value
PROD_ALL
See also