Click here to Skip to main content
15,878,814 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
I created an application in vs 2012 I need to install this application in another pc (pc number 2 ) so that the application will work only in PC number 2 , if I move to another pc (pc number 3) the application does not travaillé.donc how to configure the application to work in only one pc?
Posted
Updated 24-Jun-15 15:02pm
v2
Comments
Suvendu Shekhar Giri 24-Jun-15 22:26pm    
More information required. How can the application know that it is running in another/more PCs? Are all these PCs connected through LAN or Internet?
Mohammed-cd7 25-Jun-15 9:04am    
No,the application does not use the internet.

1 solution

The original version of this question was closed because it didn't make any sense at all.

If you're asking how to copy protect your application, you really can't. ANY copy protection code you put in can be defeated. Major companies have spent billions of dollars on the problem over the decades and none were ever successful in solving the problem.

At best you're going to make it a pain in the ass to either install your application, license it, or use it, all of which will just turn customers off to using it.
 
Share this answer
 
Comments
Mohammed-cd7 25-Jun-15 9:02am    
can I use the material information such as the serial number of the motherboard or @mac
in order to specifies the only machine that can use this application ?
Dave Kreskowiak 25-Jun-15 9:39am    
Not really. First, there is nothing that says a manufacturer must supply this information to WMI. Second, it can also be changed.

There really is no method to protect your application that is completely secure.
Mohammed-cd7 25-Jun-15 11:10am    
yes of course can not have an application 100% secure but if can use the wmi please give me a solution. thanks
Dave Kreskowiak 25-Jun-15 11:18am    
I already told you, WMI is not the way to go.
Mohammed-cd7 25-Jun-15 16:00pm    
so what is the solution ?

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