Kent Belan wrote: > I need to create a key so that when I sell a VFP9 program > I can send an email with the key that the user will type > In and unlock the program. > > Does anyone know how to generate the key, have some code, > Or point me to a website that can help ?
I use a license file that includes client name, phone, type of license (unlimited, date limited, version limited, etc.), the key itself, which is a random UUID, and a md5 hash of the entire file. The license file is plain text. The application checks for the existence of the license file in the appdata directory, reads it, checks the md5 hash against the entry in the license file, logs into the server to check the validity of the license[1][2], and then starts the app. If any of those points fail, the app won't start. The customer name, phone number, and other info is what populates their name in the various reports and screens. [1] I allow up to 20 days of not being able to connect to the server, so the person can still use the app on an airplane or something. When a successful server license query happens, I save that datetime info to determine whether to cut them off or not after 20 days of being unable to validate the license. [2] I or my client can cut people off by setting a 'disabled' flag on the license using the administration tool. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

