Click here to Skip to main content
11,477,044 members (72,442 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 4:02am
Edited 2-Nov-11 6: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 274
1 Richard Deeming 245
2 Andy Lanng 185
3 _duDE_ 175
4 Sascha Lefèvre 150
0 Sergey Alexandrovich Kryukov 7,675
1 OriginalGriff 7,246
2 Sascha Lefèvre 3,034
3 Maciej Los 2,491
4 Richard Deeming 2,305

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