TraceFeatures Method (DocuViewareLicensing)
In This Topic
Tracks and records the usage of GdPicture features by a demo application during evaluation of DocuVieware (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 Shared Sub TraceFeatures( _
ByVal As String _
)
public static void TraceFeatures(
string
)
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
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());
}
var key = "DEMO_PSPDFKIT_WEB";
DocuViewareLicensing.RegisterKEY(key);
DocuViewareLicensing.TraceFeatures(Path.Combine(assembliesRootFolder, "license.log"));
See Also