Click here to Skip to main content
11,705,212 members (48,953 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#3.0 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 3:02am
Edited 2-Nov-11 5:12am
RaisKazi at 2-Nov-11 9:08am
Your question is unclear. Please elaborate.
pucx at 2-Nov-11 11:13am
for windows.The question has update.
jim lahey at 2-Nov-11 9:29am
How to write a coherent question has also been limited. Thank you.
pucx at 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
0 Sergey Alexandrovich Kryukov 550
1 OriginalGriff 244
2 ppolymorphe 126
3 CPallini 82
4 F-ES Sitecore 70
0 OriginalGriff 8,988
1 Sergey Alexandrovich Kryukov 8,272
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,606

Advertise | Privacy | Mobile
Web04 | 2.8.150819.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