C/C++

int length;

const unsigned char * licenseContent = LoadMyFile("/path/to/mylicense.lic", &length);     //own function

IEngine_InitWithLicense(licenseContent, &length);      //use this instead of IEngine_InitModule();


Java

IDKit idkit = IDKit.getInstance();

byte [] licenseContent = Files.readAllBytes(Paths.get("/path/to/mylicense.lic"));

idkit.initWithLicense(licenseContent);      //use this instead of idkit.initModule();


C#

byte[] licenseContent = File.ReadAllBytes("/path/to/mylicense.lic");
IDKit.InitWithLicense(licenseContent);      //use this instead of IDKit.InitModule()