GdPicture.NET.14.API
GdPicture14 Namespace / LicenseManager Class / TraceFeatures Method
The path of the file where all features used within the demo application will be logged to.
Example





In This Topic
TraceFeatures Method (LicenseManager)
In This Topic
Tracks and records the usage of GdPicture features by a demo application during evaluation of GdPicture (using DEMO_PSPDFKIT_WEB license key), storing this data into a log file. This can assist users in determining the necessary license features for purchase, tailored to their specific development needs.
Syntax
'Declaration
 
Public Sub TraceFeatures( _
   ByVal filePath As String _
) 
public void TraceFeatures( 
   string filePath
)
public procedure TraceFeatures( 
    filePath: String
); 
public function TraceFeatures( 
   filePath : String
);
public: void TraceFeatures( 
   string* filePath
) 
public:
void TraceFeatures( 
   String^ filePath
) 

Parameters

filePath
The path of the file where all features used within the demo application will be logged to.
Example
Write all feature into 'OUTPUT_PATH/licensing.log' file
var key = "DEMO_PSPDFKIT_WEB";
var lic = new LicenseManager();
lic.RegisterKEY(key);
            
string assembliesRootFolder = Path.GetDirectoryName(Environment.ProcessPath);
            
// Handling Visual studio vsdbg adapter
if (Environment.ProcessPath.EndsWith("dotnet") && Environment.GetCommandLineArgs().Length > 0)
{
    assembliesRootFolder = Path.GetDirectoryName(Environment.GetCommandLineArgs().First());
}
            
lic.TraceFeatures(Path.Combine(assembliesRootFolder, "license.log"));
See Also