UnmanagedTrial Sample

Overview

This sample has the same basic format of the ClientLicense sample, except it implements an extra TrialLicense class, which uses PLUSManaged's WritableLicense class, for trial licenses only. This enables this sample application to create unmanaged trial licenses, which are trial licenses not issued through SOLO Server, on its own. This sample provides a middle-ground with security, where the trial is more easily accessible on machines with no or limited Internet connectivity, while still requiring fully activated machines to use licenses issued by SOLO Server.

This sample application uses 4 License File Aliases (two on the file system and two in the Windows registry), which are redundant copies of the primary License File. Although the sample places these Aliases in the same folder as the application and an application-specific registry key that, you would want to change the locations to something that would better hide these from the user.

In addition to using NTP to check the system clock, this sample also keeps track of the last time the application was used to help prevent back dating to gain additional use of a trial or periodic expiration license.