Parsing the License String to Obtain License Details
Additional Prerequisites
In addition to the prerequisites listed here, SentinelLicgenParser.jar is also required.
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 is parsed and the string licInfo will contain the license information in the XML format.