Parsing the License String to Obtain License Details

Declare Variables/Constants

String LICENSE_STRING = "License string to be parsed";

API Calls

To parse the details of a license string, , execute the APIs in the specified sequential order only:

>LicgenContext licgencontext = new LicgenContext();

>String licInfo = licgencontext.parse(LICENSE_STRING);

On success, the license string specified in LICENSE_STRING will get parsed and the out paramter licInfo will contain the detail information of the license in the XML format.

Note

In case of failure, licgencontext.parse will return an error code, other than SNTL_LICGEN_SUCCESS.