Ravi,
I don't mean anything special. You can encrypt a string and use filetostr() to save it to a file. Or, You could use a table (with one record--of course you can encrypt the info). Within this information, you would store a checksum. When your program loads, read the info., do a checksum calculation on the data, and compare it to the checksum stored in the data file. If you get a match, the program continues to load.
Cryptor from Xitech seems to be a pretty popular choice as a third-party encryption tool (I've never used it). I don't have a checksum routine handy...certainly there is one around here.
This isn't foolproof, anyone with the configuration file can run the program. How do you currently prevent an unlicensed user from running a copy of your application?
>>I'm with Elmer...you can use a configuration file to hold the licensing information for each customer. You can encrypt the file, or employ other measures (such as a checksum) to make sure the file has not been tampered with.
>>
>>Then you only need one .exe. :)
>
>Hi Steve:
>
>Makes sense - what do you mean by a "configuration file". How do I get started on creating a configuration file.? Appreciate your time and advise Steve. Thanks.
Steve Gibson