C/C++
int length;
unsigned char * licenseContent = LoadMyFile("/path/to/mylicense.lic", &length); //own function
ISegLib_SetLicenseContent(licenseContent, &length);
ISegLib_Init();
C#
ISegLib isegLib = ISegLib.Instance;
byte[] licenseContent = File.ReadAllBytes("/path/to/mylicense.lic");
isegLib.SetLicenseContent(licenseContent);
isegLib.Init();
Java
final SegLib isegLib = SegLib.getInstance();
byte[] licenseContent = Files.readAllBytes(Paths.get("/path/to/mylicense.lic"));
isegLib.setLicenseContent(licenseContent, licenseContent.length);
isegLib.init();