Product Activation via email (VB6)
Posted on 2007-07-29
I have a VB app and wish to protect it through a Product Activation schema. Having recently purchased an OCX and observing the activation sequence, I'd like to do something similar to the following:
(1) Fetch the MAC address/ card details (I have this step)
(2) Somehow convert the MAC address into a "Machine number", being a reasonable number of alpanumeric characters that a user could send via email to me
(3) I'd use a function at my end to convert the "Machine number" into a Product License Key (a'la Microsoft style), and email this key to the user
(4) The user types in the license key into my application, which checks that it is valid. If yes, my app shifts from demonstration mode to commercial usage mode
I was wondering if you have experience with the above, and if there any sample code/ OCX's etc that can assist with steps 2,3 & 4.
Thanking you in advance.