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.
- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Knowledge Base
- :
- Syntax for specifying a different Trusted Storage Location for Windows and Linux-Based Platform othe...
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Syntax for specifying a different Trusted Storage Location for Windows and Linux-Based Platform other than using the default location
Syntax for specifying a different Trusted Storage Location for Windows and Linux-Based Platform other than using the default location
Symptoms: How to change the default location of trusted storage via the CapabilityRequest.c example for the Windows Platform and the Linux-Based Platform
Diagnosis: Here is the original Default location example:
if (!FlcLicensingCreate(
&licensing, identity_data, sizeof(identity_data),
GetStoragePath(tsPath, sizeof(tsPath)) ? tsPath : NULL,
"1234567890", error))
Solution: Adjustments based on the OS platform
Windows:
if (!FlcLicensingCreate(
&licensing, identity_data, sizeof(identity_data),
"C:\\temp\\",
"1234567890", error))
Linux-Based:
if (!FlcLicensingCreate(
&licensing, identity_data, sizeof(identity_data),
"/var/opt/flexnetls/ClientTrustedStorage/",
"1234567890", error))
No ratings