Customizing the Default Standalone License Filename/Path
Declare Variables/Constants
#define FILE_NAME_AND_OR_PATH "myLicenseFile"
sntl_licensing_attr_t *pAttrConfig = NULL;
API Calls
To customize the default standalone license file name/path in your application, execute the APIs in the specified sequential order only:
sntl_licensing_attr_new(&pAttrConfig);
sntl_licensing_attr_set_config_lservrc_file(pAttrConfig, FILE_NAME_AND_OR_PATH);
sntl_licensing_configure(pAttrConfig);
NOTE The ApplicationContext creation and other licensing API should be implemented after the configure API.