Summary
This article will explore the process of acquiring and then returning a license to a local license server
Synopsis
When moving from FlexNet Publisher to FlexNet Embedded, it is sometimes not clear on how performing a checkout (acquire) against a local license server is performed. With FlexNet Publisher, it was a simple process of using the lc_checkout call to get the license from the license server. However with FlexNet Embedded, this is not the case.
This article will explore the process of getting (acquiring) a license from the FlexNet Embedded local license server and then returning it.
Discussion
When acquiring a license from the FlexNet Embedded local license server, it is first required that a capability request is performed against the server in order to get a response into trusted storage on the client containing the license. The client would then perform the "acquire" against the license that is now held in the local trusted store.
This behavior is demonstrated in the example capability request example that is provided in the FlexNet Embedded toolkits:
FlxCapabilityRequestAddRightsId(capabilityRequest, "captest1", 1, error);
/* find binary capability request size */
if ( !FlxPublisherGenerateCapabilityRequest(
clientObjects->publisher,
clientObjects->identity,
capabilityRequest,
*binaryRequest,
binaryRequestSize,
error) )
{
..
..
..
process the response
..
..
..
!FlxPublisherAcquireLicenses(
clientObjects->publisher,
&license,
clientObjects->licenseSources,
survey,
version,
1,
0,
0,
error) )
To return the license, you would need to perform the capability request again, but instead of asking for licenses, you would pass in a count of 0 to the request so that all licenses are returned:
FlxCapabilityRequestAddRightsId(capabilityRequest, "captest1", 0, error);
Related Articles
How Many Reservation Lists Can The Local License Server Manage? 5Number of Views Local License Server Service Error - Error 1067: The Process Terminated Unexpectedly 35Number of Views How to Change the FlexNet Embedded Windows Local License Server Wrapper Logs Location 11Number of Views Reasons for the Local License Server to crash 4Number of Views Java Reporting in Revenera Usage Intelligence 10Number 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