C/C++

int length;

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

IEngine_SetLicenseContent(licenseContent, &length);

IEngine_Init();


Java

final AnsiIso ansiiso = new AnsiIso();

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

ansiiso.setLicenseContent(licenseContent, licenseContent.length);

ansiiso.init();


C#

IEngine ansiiso = IEngine.Instance;
byte[] licenseContent = File.ReadAllBytes("/path/to/mylicense.lic");
ansiiso.SetLicenseContent(licenseContent);
ansiiso.Init();