When you have generated the EDMruntime license key, the next step is to embed the 84 character string into the source code of your application. The syntax for this is different for each EDMInterface language binding. When you embed the license key, there is one important precaution to be taken.
The EDMruntime license key shall be embedded in compiled source code only, and shall not in any way be accessible to your application end users. You are responsible for your own and any third party's unauthorized use of the license key.
The samples below are for EDMInterface / C API and C++.
Hard code the EDMruntime license key into the source code
The EDMInterface/C API functions edmiSetInternalData() and edmiRemoteSetInternalDataBN() is used for defining the EDMruntime license as an environment variable that is valid for the scope of your application process only.
Related articles