Click here to Skip to main content
Rate this: bad
good
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
pucx1.2K
Edited 2-Nov-11 6:12am
v2
Comments
RaisKazi at 2-Nov-11 9:08am
   
Your question is unclear. Please elaborate.
Web/windows?
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
good
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.
  Permalink  
Rate this: bad
good
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.
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 2 Nov 2011
Copyright © CodeProject, 1999-2014
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