Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to make an exe with expiring date. if exe is registered for 30 days then it will expire after 30 days. I am using visual studio 2008
pls help me.

thanks in adv.
Posted

This is a question that comes up many times, and there are many solutions, but it tends to ignore a fairly fundamental question, mainly why is this not a great idea in a .NET application?

If you look at the fact that most of these solutions are intended to try and stop somebody from illegally using your application, then you need to consider that .NET applications tend can be easily reversed using a tool like Reflector, which allows people to see what your licensing mechanism is, and to easily bypass it.
 
Share this answer
 
this blogs may helps to you :
How, set Expiry date for my application[^]
 
Share this answer
 
v2
Rajesh,

You need to implement licensing in your code,there are multiple ways to do it.

1.You can use databases if your application uses databases

2.You can create your own license file , with time duration inside it ,may be xml file included in your application. when user logs in your application this license file will be read(may be decoded if encoded and kept with application),time information will extracted and compared.
 
Share this answer
 
Comments
rajesh@1989 17-May-12 8:30am    
thanks for ur rply!!
Can you give me some example. I am using database in my application.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900