Click here to Skip to main content
15,896,545 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application in windows c# but i want code for once copy the .exe setup file its atomatically expire, will u please any one help me

thank you

Regards
P.Bharath kumar
Posted
Comments
Abhai Oza 2-Feb-13 3:08am    
Please Exaplain your Proper Question..
I dn't get it.

1 solution

You can't do that.
If you copy a file, the destination file is exactly the same as the original - it does not contain any information which says "I am the third copy of xxx" or anything like that. If you ship a setup program and I copy it before I install it, it doesn't matter what you do to the original when I install it, I still have the copy which I can install from because it is untouched.

Look instead at copy protecting your application through licencing: Software Copy Protection for .Net Applications - a Tutorial[^] but don't expect miracles! Adobe spend millions on copy protecting Photoshop, and the "cracked" version hits the torrent sites the same day they release a new version!
 
Share this answer
 

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