Showing articles with label Sample Code.
Show all articles
FlexNet Publisher Knowledge Base
Sample code to allow checkout based on license file and trusted storage model
0 2 296
Seen below is a sample of modified lsvendor.c that contains a server side checkout filter. It uses a flag that will detect if the license that is being checked out is from the Server Trusted Storage or a License file and will deny/allow accordingly...
Sample code to get details(License name,checked out date and time,user etc) of license getting checked out
0 0 252
Below is an example of the code that can be added to get the below details Checked out date and time User who made the checkout Number of licenses checked out Name of the feature Count of available license Count of used license Type of the feature ...
How to get the expiration date of borrowed license
0 0 223
Sample Code to get the expiration date of borrowed license /************************************************************************************************** * Copyright (c) 1997-2018 Flexera. All Rights Reserved. *******************************...
Sample code for Multiple vendor defined hostids
0 0 283
The attached sample code suffice the requirement to activate multiple vendor defined hostid. In example code, two VDH (VDH and VDH1) are defined.We can use any of these to node lock the license server. /*****************************************...
Sample Code/API To Get Content Of License File Which The License Server (lmgrd/ansyslmd) Is Using
0 0 365
Below is the sample code(lmflex.c) which gives the details of the license file being used by the license server /****************************************************************************** Copyright (c) 1988-2008 Acresso Software Inc. All Right...