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 idkit = IDKit.GetInstance(licenseContent);      //use this instead of idkit.GetInstance()


VB

Dim licenseContent As Byte() = My.Computer.FileSystem.ReadAllBytes("/path/to/mylicense.lic")
Dim idkit As IDKit = IDKit.GetInstance(licenseContent)      //use this instead of idkit.GetInstance()