How to retrieve the license information through code
Views (3188)
Recently I came across the requirement to retrieve the licence information from the system to use it for some purpose.
Here is the sample to job to get license information.
static void getLicenseValue(Args _args)
{
str licVal;
licVal = xSysConfig::find(ConfigType::SerialNo, 0).Value;
info(strFmt("%1", licVal));
}
Output:
Here is the sample to job to get license information.
static void getLicenseValue(Args _args)
{
str licVal;
licVal = xSysConfig::find(ConfigType::SerialNo, 0).Value;
info(strFmt("%1", licVal));
}
Output:
This was originally posted here.

Like
Report

*This post is locked for comments