Summary
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 Rights Reserved
This software has been provided pursuant to a License Agreement
containing restrictions on its use. This software contains
valuable trade secrets and proprietary information of
Acresso Software Inc. and is protected by law. It may
not be copied or distributed in any form or medium, disclosed
to third parties, reverse engineered or used in any manner not
provided for in said License Agreement except with the prior
written authorization from Acresso Software Inc.
*****************************************************************************/
/*
*
* Description: This is a sample application program, to illustrate
* the use of the Flexible License Manager.
*
*/
#include <stdio.h>
#include "lmclient.h"
#include "lm_attr.h"
int
main(int argc, char * argv[])
{
VENDORCODE code;
LM_HANDLE *lm_job;
char **feats;
int i=0, ret=0;
CONFIG *pos = 0, *conf;
if (lc_new_job(0, lc_new_job_arg2, &code, &lm_job))
{
lc_perror(lm_job, "lc_new_job failed");
exit(lc_get_errno(lm_job));
}
lc_set_attr(lm_job, LM_A_PORT_HOST_PLUS, (LM_A_VAL_TYPE)0);
(void) lc_set_attr(lm_job, LM_A_LICENSE_DEFAULT, (LM_A_VAL_TYPE)"27000@localhost");
for (feats = lc_feat_list(lm_job, LM_FILTERLIST_ALL_FILES, NULL); feats && *feats; feats++)
{
pos = 0;
conf = 0;
while (conf = lc_next_conf(lm_job, *feats, &pos))
{
printf("\n\n Got some config information:\n");
printf("Feature: %s\n", conf->feature);
printf("\n\t\t Exp date is %s", conf->date);
printf("\n\t\t Version is %s", conf->version);
printf("\n\t\t code is %s", conf->code);
}
}
lc_free_job(lm_job);
return 0;
}Was this helpful?
Related Articles
Adobe Creative Cloud Insight Tooltip text showing the same content 7Number of Views Failure to run discovery on VMware vCenter/Host Servers in FlexNet Manager Suite On-Premises 26Number of Views Regarding Content library update schedule & files 8Number of Views Deleting Deployed Entitlements in FlexNet Operations Cloud Production Environment 8Number of Views Retrieve and Display List of Machine Names and IP Addresses On Domain To User 4Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago