- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- How identify the CLS in the Trusted Storage file
- 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,
When reading a TrustedStorage file located on the client workstation, is it possible to know the origin of the license?
By doing a "LicenseManager.GetFeatureCollection", I noticed that if the file was created with a :
- CLS: "IsServed=true"
- NodeLocked: "IsServed=false
But in the case of a CLS can we find information to identify the CLS server?
The idea is to manage the use case below:
"The workstation had a problem that caused it to lose its original configuration. So it has lost the <CLS instance ID> (and the user doesn't know it either).
The software is reinstalled, as it was on the first day.
At startup it finds a TrustedStorage file that contains a license, borrowed for several more months.
How to return the license to the CLS server".
Note that I don't have the problem for a TrustedStorage "NodeLocked" file because I have placed the ActivationID in the VendorString.
Waiting for your ideas.
William
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Willag , *Updated Response*
The CLS ID is actually returned to the device in the capability response, however it is not persisted in trusted storage. You could store the CLS ID in Trusted Storage after either the user enters it during initial setup or by retrieving it from the capability response from the server. Refer to the APIs to manage a "Private Data Source" in the API documentation.
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Willag , *Updated Response*
The CLS ID is actually returned to the device in the capability response, however it is not persisted in trusted storage. You could store the CLS ID in Trusted Storage after either the user enters it during initial setup or by retrieving it from the capability response from the server. Refer to the APIs to manage a "Private Data Source" in the API documentation.
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank you @jberthold
"Private Data Source" is a good solution in my case.