Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
Defines a struct to configure the parameters to connect to license server.
public class DMDLSConnectionParameters
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 |
The URL of the license server.
string Dynamsoft.DMDLSConnectionParameters.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.
The URL of the standby license server.
string Dynamsoft.DMDLSConnectionParameters.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.
The handshake code.
string Dynamsoft.DMDLSConnectionParameters.HandshakeCode
Value Range
Any string value
Default Value
null
The session password of the handshake code set in license server.
string Dynamsoft.DMDLSConnectionParameters.SessionPassword
Value Range
Any string value
Default Value
null
Sets the deployment type.
EnumDMDeploymentType Dynamsoft.DMDLSConnectionParameters.DeploymentType
Value Range
Any one of the EnumDMDeploymentType
Enumeration items.
Default Value
DM_DT_DESKTOP
See Also
EnumDMDeploymentType
Sets the charge way.
EnumDMChargeWay Dynamsoft.DMDLSConnectionParameters.ChargeWay
Value Range
Any one of the EnumDMChargeWay
Enumeration items.
Default Value
DM_CW_AUTO
See Also
EnumDMChargeWay
Sets the method to generate UUID.
EnumDMUUIDGenerationMethod Dynamsoft.DMDLSConnectionParameters.UUIDGenerationMethod
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.
int Dynamsoft.DMDLSConnectionParameters.MaxBufferDays
Value Range
[7,0x7fffffff]
Default Value
7
Sets the license modules to use.
EnumDMLicenseModule[] Dynamsoft.DMDLSConnectionParameters.LimitedLicenseModules
Value Range
Each array item can be any one of the EnumDMLicenseModule
Enumeration items.
Default Value
null
See Also
EnumDMLicenseModule
Sets the max concurrent instance count.
int Dynamsoft.DMDLSConnectionParameters.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.
The organization ID got from Dynamsoft.
string Dynamsoft.DMDLSConnectionParameters.OrganizationID
Value Range
Any string value
Default Value
null
Sets the products to get the license for. Product values can be combined.
int Dynamsoft.DMDLSConnectionParameters.Products
Value Range
A combined value of Product
Enumeration items
Default Value
PROD_ALL
latest version