This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
dipujoseph
Level 3
- Revenera Community
- :
- About dipujoseph
Aug 23, 2021
08:44 AM
1 Kudo
The difference between this and the non-diagnostic version is that a diagnostic source loads all features, even those that fail validation. While the diagnostic functionality provides additional information, it can produce overhead not acceptable in a production environment. For example, it will load all expired features into the license source, which consumes memory resources and slows the search for valid licenses at the time of the acquisition request. (Source: FlexNet Embedded Client .NET XT SDK User Guide)
... View more
Aug 23, 2021
08:40 AM
1 Kudo
Hi, Please use the following variant of this API (sample code shown below). licensing.LicenseManager.GetFeatureCollection(LicenseSourceOption.Trials, true); The above-mentioned call depicts use of the diagnostic version of the GetFeatureCollection method, which you indicate by passing true to the diagnostic argument. FlexNet Embedded supports the diagnostic functionality for buffer, trusted-storage, trial, and certificate license sources. From API documentation
... View more
Aug 27, 2019
08:58 AM
@balazscsak, If the problem was that of write permission for config file, the error message would have been "The license server configuration file is not writable.". If the configuration file has got corrupted, I fear that you will need to create a fresh installation of lmadmin.
... View more
Aug 27, 2019
08:08 AM
Hi @balazscsak , Could you please give complete details of the saving error that you got while trying to import the license? It is quite possible that the configuration file ("lmadmin/conf/server.xml" file) got corrupted for some or the other reason.
... View more
Aug 26, 2019
08:49 AM
You can try using lc_heartbeat(). Syntax int lc_heartbeat( LM_HANDLE *job, int *ret_num_reconnects, int minutes); Parameters The lc_heartbeat function uses the following parameters: Table 1-60 • lc_heartbeat Parameters Parameter Description job From lc_new_job. ret_num_reconnects If null, this argument is ignored. If non-null, and the FlexEnabled application has just successfully reconnected to the server, the return value will be 0 (success), and ret_num_reconnects is set to the number of times the FlexEnabled application has reconnected in the last minutes. If this is a large number, it may indicate attempted theft. minutes If 0, this argument is ignored. If non-zero, it is used to detect when a server is being started and stopped many times in a short period, which can indicate attempted theft. The reporting period is set with minutes. Return The following values are returned by lc_heartbeat: Table 1-61 • lc_heartbeat Returns Return Values Description 0 Success. Any other value The license server is currently down. The number of failed attempts to reconnect to the license server. Discussion Before calling lc_heartbeat, you must first turn off the automatic heartbeat mechanism before the first license checkout: lc_set_attr(lm_job, LM_A_CHECK_INTERVAL, (LM_A_VAL_TYPE) -1); lc_set_attr(lm_job, LM_A_RETRY_INTERVAL, (LM_A_VAL_TYPE) -1); lc_heartbeat sends heartbeat messages to and receives acknowledgments from the license server. By default, these activities are handled automatically by FlexNet Licensing via a separate, dedicated application thread. This function provides manual control of heartbeat messages, thereby overriding the automatic mechanism.
... View more
Latest posts by dipujoseph
Subject | Views | Posted |
---|---|---|
1202 | Aug 23, 2021 08:44 AM | |
1202 | Aug 23, 2021 08:40 AM | |
5621 | Aug 27, 2019 08:58 AM | |
5629 | Aug 27, 2019 08:08 AM | |
1819 | Aug 26, 2019 08:49 AM |
Activity Feed
- Got a Kudo for Re: Trial license. Aug 23, 2021 11:05 PM
- Got a Kudo for Re: Trial license. Aug 23, 2021 11:04 PM
- Posted Re: Trial license on FlexNet Embedded Forum. Aug 23, 2021 08:44 AM
- Posted Re: Trial license on FlexNet Embedded Forum. Aug 23, 2021 08:40 AM
- Posted Re: Encountered problem saving license server configuration on FlexNet Publisher Forum. Aug 27, 2019 08:58 AM
- Posted Re: Encountered problem saving license server configuration on FlexNet Publisher Forum. Aug 27, 2019 08:08 AM
- Posted Re: How to check if flex server is alive using API on FlexNet Publisher Forum. Aug 26, 2019 08:49 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Oct 06, 2021
03:08 PM
|