|
-
May 12th, 2005, 06:28 AM
#1
Thread Starter
Ex-Super Mod'rater
Activation Keys
I'm wanting to have my program have a Activation Key, like a HashCode, tied into a couple of settings.
For example I had the thought of taking the two Settings and making a string from then using md5() on that and that would be the Activation Key. The problem is that I'd have to have in the program the code to actually generate the whole Key anyway in order to compare the one they give with it. And then someone could extract this given time and effort.
I'll go with that if I can't find a better way but I was hoping to be able to find a way in which my algorythum used to verify could do so without creating a new key.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
May 12th, 2005, 07:05 AM
#2
Re: Activation Keys
Use some hardware, and run an encryption on it. Store the value in the registry and each time you run the program, read the registry and compare the encrpted registry key with the encrypted hardware key. martinliss has an example using the hard disk serial number, but there are other methods that can be used.
i use this method to also generate a back-door password in case they forget a manager's password that they choose.
the pc numbers are emailed to me before they can run the app, but you could probably have some trial period, but i didn't want to, as it could be defeated.
-
May 12th, 2005, 07:27 AM
#3
Thread Starter
Ex-Super Mod'rater
Re: Activation Keys
I've found this in the code bank https://www.vbforums.com/showthread.php?t=231798 and mixed it up with md5 and it seems to be ok, still generates the key in order to compare but i guess it'll have to do.
I've tied it into some Key Settings on the system, if they change then the likly hood is its being run by someone else. So they'd need a new code, which if i believe its still for them i'd be able to issue the new key.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
May 12th, 2005, 09:50 AM
#4
Re: Activation Keys
Well, I changed my equation, so that only I know who it is. The odds of anyone else wanting a code is pretty low, so I'm not too worried about it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|