Create configuration file

Multiple CSDK engine can connect to multiple OPLA licensing servers.

Licensing.config file needs to be created to setup central licensing for CSDK. CSDK looks for this file in the following locations respecively:

  1. Beside the KernelAPI

  2. Under the {ProgramDataFolder}\<company>\<product>\ directory, where <company> and <product> is set during the initialization of the Engine.

    • kRecInit(company, product)

    • Engine.Init(company, product)

The file must contain a list of licensing servers, where CSDK can connect. The list contains the following information:

  • Server Name or IP address
  • Port
  • Protocol
  • A flag if the server is primary or backup
  • Timeout

Maximum 10 servers can be added, and there can be multiple primary and backup servers.

  1. Create the licensing.config file in the following format.
    Example
    #########################################################################################
    # Server Name                        Port      IP Version     Type       Timeout        #
    #########################################################################################
    <my server name 1>                   18019     IPv4           Primary     
    <my server name 2>                   18019     IPv4           Primary
    <my server name 3>                   18019     IPv4           Primary
    <my server name 4>                   18019     IPv4           Backup      timeout=40000
    <my server name 5>                    8080     IPv4           Backup      timeout=40000