Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Pete Sass
 To: Pete Huish
 Pete Huish
Subject: RE: License server
Thread ID: 344937 Message ID: 345215 # Views: 54 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Distribution and InstallShield
Date: Sunday, May 20, 2012 5:52:05 PM         

> I am looking at options to update our license checking process to one where a check is made on an internet-based license database. Has anyone used such an approach and if so what components/tools did you use?
> thanks,
> pete

Nobody is responding so just a few thoughts.

1. Inno installation wizard software has the ability to create registry keys during the software installation process on the target computer that your VFP exe is installed into.
These registry keys could hold software unique serial number, install date, software version, company name, company address, phone number and email address, etc.

2. VFP can in code connect to a remote database that could be a native VFP table, SQL Server or mySQL; providing you have a static method with which to connect with. ie: The licensing server has a static IP address and you have opened a port on your firewall and you have port forwarding setup in your router from external IP address to licensing server. You need to have your ISP provider give you as static IP address or you could consider using a free dynamic DNS service like http://www.no-ip.com/
With the above in place then you could connect to your licensing server and access a table.

3. The table in your licensing server holds the information on the clients software licensing. ie: unique serial number, install date, software version, company name, company address, phone number and email address, etc.

I think will all of the above in place it would now be very easy for a VFP application to have something like a Help menu with say a menu option to check for upgrades and you in code go off and check the local computers registry keys and find the client information and then connect to the licensing server table and perform a SQL Select based upon the unique software serial number. This would bring down across the Internet just the one record. Then validate the customer's serial number, customer's name, phone number, etc.

Now base upon the validation do what-ever logic you wish.

You could get into things like during the installation process of your software the installation connects to your licensing server and adds in the appropriate information and could could as well include something like a hard drive serial number or CPU serial number and store this as well. Then on updates for downloads validate that the serial numbers match in an effort against software piracy.

Pete "the IceMan", from the Great White North of Canada.


License server Posted by Pete Huish @ 5/16/2012 1:45:32 AM
RE: License server Posted by Pete Sass @ 5/20/2012 5:52:05 PM