C/C++

int length;

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

IFACE_InitWithLicence(licenseContent, &length); //use this instead of IFACE_Init()


Java

byte[] licenseContent = Files.readAllBytes(Paths.get("/path/to/mylicense.lic"));
iface.initWithLicence(licenseContent);        //use this instead of iface.init();


C#

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