The license rights do not need to be defined in a license file. They can be specified as a literal string anywhere a license file name can be used (such as in a license search path). The actual text of the license file is specified with START_LICENSE\n as a prefix, and \nEND_LICENSE as suffix, where the embedded new lines are required.
In the following license search path, the third component is a literal text string containing the actual feature definition line.
----------------------------------------------------------------------------------
setenv VENDOR_LICENSE_FILE file1: file2: START_LICENSE\n\
FEATURE f1 demo 1.0 permanent uncounted HOSTID=ANY \
VENDOR_STRING=\"Acme Inc\" SIGN=50A35101C0F3\n\
END_LICENSE
----------------------------------------------------------------------------------
The following example shows this usage in a call to the lc_set_attr function inside the application:
----------------------------------------------------------------------------------
lc_set_attr(job, LM_A_LICENSE_DEFAULT, (LM_A_VAL_TYPE)
"START_LICENSE\n\
FEATURE f1 demo 1.0 permanent \
uncounted HOSTID=ANY \
VENDOR_STRING=\”Acme Inc\" SIGN=50A35101C0F3\n\
END_LICENSE”);
----------------------------------------------------------------------------------
If all users for a particular software publisher have the same license file, it is convenient to store it in a character buffer in the program, rather than in a license file, which would require the publisher to distribute an extra file that might get misplaced.
For example, a library may be used to read a particular format file. If the file includes the name of the company that generated the data, a license can guarantee that only files generated by this company can be read by the library, by matching the name in the VENDOR_STRING=“...” field, (in conjunction with using lc_auth_data or LM_A_CHECKOUTFILTER).
Related Articles
Flexnet Licensing Service on Reboot doesn't Work in RHEL 7 + SUSE 12 SP4 and Above 8Number of Views FlexNet Licensing Error:-2,5 6Number of Views FlexNet Licensing error:-16,287 23Number of Views How do You Determine the Current Version of the FlexNet Licensing Service (FNLS) Running on a Windows System? 8Number of Views FlexNet Licensing Error :-16 27Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago