Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi i made a setup of my program and i want if setup file copied of this PC to another PC in software in a label write "Copied"
how can i do this?
With Respect "Spaceman"
Posted
Comments
Richard MacCutchan 29-Aug-14 12:35pm    
You can't. A setup program is just a file, and a user is free to copy and rename it any way they like.

Its impossible to track that.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Aug-14 13:34pm    
5ed. :-)
—SA
As the others have said, it is not possible to determine the use case you want.

However, what you can do is have the setup program check-in (or call home) to a central installation licensing server, and use details of a pc, to determine if the application has been done on more than one computer.

You would then issue a machine specific licensing key that limits the software to work on one computer. (or however many license have been purchased etc.)

See this article as an example. Software Copy Protection for .Net Applications - a Tutorial[^]
 
Share this answer
 
v2
Comments
Avenger1 29-Aug-14 16:27pm    
Himy app is done to make and now i want to make it don't copy or if it copied to another pc how can i understand it?
its very important for me
With Respect "Spaceman"
DaveAuld 30-Aug-14 6:59am    
I have updated my answer with a link to an example licensing mechanism.
Avenger1 30-Aug-14 8:15am    
thanks but my software will buy in site of sell software like amazon and i want when customer bought that, contact me for the serial and i have no problem with this but if they copy the software i can't understand to it didn't bought and this is all my problem to want to know it
to don't give them the activation code
With Respect "Spaceman"
DaveAuld 30-Aug-14 10:34am    
I'm sorry, but if you are writing software at this level and have a product that is valuable enough that you are concerned with it being copied, then you must be smart enough to work your own solution to your own specific needs. Sometimes, it is more hassle to build in protection than the value of the software you are selling.

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