Click here to Skip to main content
12,893,816 members (52,708 online)
Click here to Skip to main content


230 bookmarked
Posted 9 Oct 2012

Creating Secure Trial Versions for .NET Applications - A Tutorial

, 16 Oct 2012 CPOL
Implement trial licensing model for your .NET applications with minimal costs
Installing and running the samples

Make sure you have Visual Studio 2010, SQL Express 2005 or higher and SoftActivate Licensing SDK (from installed on the development machine

Copy the LicensingService folder from the bin\ folder of the SoftActivate Licensing SDK into the Tools subfolder of this folder

First and foremost, you must start the licensing service by running the RunLicensingService.bat file from the Tools folder. 

Make sure that the paths in the .bat (to Visual Studio and to the sample folder) are set correctly ! 

Go to the \bin\Release folder and run the SampleAppCS.exe or SampleAppVB file. 

Click the "Start 30-day Trial" button to start the trial. 

The application will then connect to the licensing service and request a trial license. 

Please note that if you try to click it again, it will not work since a trial license has already 
been issued for your computer. In order to try again, you must connect to the licensing service database 
(found in the Tools\LicensingService\App_Data folder) and delete the record from the Activations table.  

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ansel Reynard
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 16 Oct 2012
Article Copyright 2012 by Ansel Reynard
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid