Resource Base
Table of contents

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

EnumDMChargeWay

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

EnumDMUUIDGenerationMethod

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

EnumProduct

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

version 1.0.3

  • Latest version
  • Version 4.x
    • Version 4.2.0
    • Version 4.0.2
    • Version 4.0.1
    • Version 4.0.0
  • Version 3.x
    • Version 3.0.3
    • Version 3.0.2
    • Version 3.0.1
    • Version 3.0.0
  • Version 2.x
    • Version 2.3.21
    • Version 2.3.20
    • Version 2.3.12
    • Version 2.3.11
    • Version 2.3.10
    • Version 2.3.5
    • Version 2.3.4
    • Version 2.3.3
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.3.0
    • Version 2.1.4
    • Version 2.1.3
    • Version 2.1.1
    • Version 2.0.0
Change +