- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Re: Trial license
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi, Using dotnet toolkit V2020.12.0. I need to list all the available license whether valid/invalid/expired , so user get complete view of all licenses.
I am able retrieve other details except the expired trial license information.
LicenseManager.GetFeatureCollection(LicenseSourceOption.Trials) return empty collection.
Can you suggest a way to get expired trial license information.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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)