cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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))

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 23, 2020 11:18 AM
Updated by:
Revenera
Contributors