iDCEDLSConnectionParameters
Defines a struct to configure the parameters to connect to the Dynamsoft License Server.
@interface iDCEDLSConnectionParameters : NSObject
Attribute Name | Type |
---|---|
mainServerURL |
NSString* |
standbyServerURL |
NSString* |
organizationID |
NSString* |
handshakeCode |
NSString* |
sessionPassword |
NSString* |
chargeWay |
EnumDMChargWay |
UUIDGenerationMethod |
EnumDMUUIDGenerationMethod |
maxBufferDays |
NSInteger |
limitedLicenseModules |
NSArray* |
products |
NSInteger |
mainServerURL
The URL of the Dynamsoft License Server.
Value Range
Any string value
Default Value
null
Code Snippet
NSString* 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
NSString* standbyServerURL
organizationID
Set the organization ID.
Value Range
Any string value
Default Value
null
Code Snippet
NSString* organizationID
handshakeCode
The handshake code.
Value Range
Any string value
Default Value
null
Code Snippet
NSString* handshakeCode
sessionPassword
The session password of the handshake code set in Dynamsoft License Server.
Value Range
Any string value
Default Value
null
Code Snippet
NSString* sessionPassword
chargeWay
Set the charge way.
Value Range
Any one of the EnumDMChargeWay
Enumeration items.
Default Value
DM_CW_AUTO
Code Snippet
EnumDMChargeWay chargeWay
See Also
UUIDGenerationMethod
Set the method to generate UUID.
Value Range
Any one of the EnumDMUUIDGenerationMethod
Enumeration items.
Default Value
DM_UUIDGM_RANDOM
Code Snippet
EnumDMUUIDGenerationMethod UUIDGenerationMethod
See Also
maxBufferDays
Set the max days to buffer the license info.
Value Range
[7,0x7fffffff]
Default Value
7
Code Snippet
NSInteger maxBufferDays
limitedLicenseModules
Set the count of license modules to use.
NSArray* limitedLicenseModules
products
Set the products. This is a combined value of Product Enumration items.
Value Range
Any one of the EnumProduct
Enumeration items.
Code Snippet
NSInteger products
See Also