Click here to Skip to main content
11,935,053 members (57,189 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#3.0 C# Windows C#3.5
In the windows platform, how to use C # limit the compiled application's start or run permissions.For example, only to get my license before it could run the program, or not to run. Equivalent to encrypt the compiled application .thanks.
Posted 2-Nov-11 4:02am
Edited 2-Nov-11 6:12am
RaisKazi 2-Nov-11 9:08am
Your question is unclear. Please elaborate.
pucx 2-Nov-11 11:13am
for windows.The question has update.
jim lahey 2-Nov-11 9:29am
How to write a coherent question has also been limited. Thank you.
pucx 2-Nov-11 11:13am
The question has update.thanks.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you want the application to not run unless a valid license has been supplied, then write it that way. There is no magic to it. At application startup check the license by whatever means you have used.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

This article will give you some ideas:

Application Trial Maker[^]

It's a little dated so do keep that in mind.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 2 Nov 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100