Page 1 of 2

Run On 1 Computer

Posted: Fri Jun 11, 2010 11:13 am
by Mark
Hello,

Can anyone help me with code so that my program will only work on one computer when they first run the program as i dont want mines to be re-sold.

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 11:16 am
by Zulf
What do you mean? :S

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 11:19 am
by Mark
I am wanting my program so when people purchase it they cant then use it on another computer.?

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 11:29 am
by Zulf
3 Solutions:

1) Make the program check for your IP, if it doesn't match make it lock the program up.
2) Make the program require a username or password, check YouTube for a login system of some type if you don't know how to do it by yourself.
3) Make it require a license/key.

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 8:15 pm
by mandai
I don't think it would be a smart idea to lock a license of your program to a particular IP.
The other 2 methods are fine though.

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 10:09 pm
by NoWayIn
Zulf wrote:
3 Solutions:

1) Make the program check for your IP, if it doesn't match make it lock the program up.
2) Make the program require a username or password, check YouTube for a login system of some type if you don't know how to do it by yourself.
3) Make it require a license/key.

well locking onto the IP as mandai will not be smart, what if their IP change everytime they restart their Modem/Router?

Using username and password is okay but then they could still share the information.
and as for a key, unless the key is created base on the computer's ID it will be useless =\

Re: Run On 1 Computer

Posted: Fri Jun 11, 2010 11:05 pm
by Zulf
Eehh. Well I don't really know much, I just started using Visual Studio a couple days ago. :/

Re: Run On 1 Computer

Posted: Sat Jun 12, 2010 7:47 pm
by Lewis
To use a key they must be a way for when that key is used it cant be used again - Use Php script on a website.

Re: Run On 1 Computer

Posted: Sun Jun 13, 2010 1:41 am
by NoWayIn
He could use MySQL to store the serial codes, if the serial code is in the database it can not be use again.

Re: Run On 1 Computer

Posted: Sun Jun 13, 2010 3:48 am
by GoodGuy17
Or just use CodenStuff's Serial Manager :D lol