Summary
How do you return an acquired license with feature information and not just the last acquired license?
Question
We are using FlexNet Embedded 2018 R1 and want to release/return a few selected node-locked licenses. Currently, for node-locked licenses, we are able to release only the last acquired license. Is it possible to return a few acquired licenses?
For example:
- Step 1: Acquire("Feat 1" , 1);
- Step 2: Acquire("Feat 1" , 3);
- Step 3: Release("Feat 1", 1);
- Step 4: Release("Feat 1", 2);
- Step 4: Release("Feat 1", 1);
We are acquiring/releasing from local Trusted Storage. There is no error as such. FlcReturnLicense expects the license reference pointer which is returned by the FlcAcquireLicenses method. The problem is that it is tedious to maintain the reference to the list of acquired features, hence we want to know how to return the acquired license with the Feature information and not just the last acquired license. Is this possible, and if so, how?
Answer
Perhaps one approach would be to make use of FlxPublisherLicenseCollectionCreate to get hold of the collection of acquired licenses and then return an appropriate entry assuming they find one that matches. However, note that these are effectively the handles returned by FlxPublisherAcquireLicense(s) so they cannot return a partial count, although the presumption would be you could then change your acquisition calls to request one count at a time and then you would be able to return one as needed. In this case, you no longer need to keep track of license handles themselves.
Related Articles
Cannot Acquire License from Trusted Storage After Restart 9Number of Views Is There an API that Can Get the Time Each User of a Feature Acquired the License? 11Number of Views How to Acquire and Return a License from the Local License Server 10Number of Views Releasing SAP license recommendations may fail with error in beaconengine.log if Visual C++ 2010 Redistributable Package x… 4Number of Views Pods fail after scheduling on B‑series burstable VM nodes 4Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago