Re: Proprietariness or levels of it, anyway
- Posted by c.k.lester <euphoric at ?klester.com> May 25, 2008
- 622 views
Mike777 wrote: > gshingles wrote: > > If you want to prevent copying of binaries then that's another story I > > suppose. > That is the story I'm trying to write. Key each executable to the hard drive serial number. That way the executable will only work on PCs with that particular serial number. You can do it one of two ways: build a custom executable for each customer after you get the serial number of the drive to which it will be installed, or use an ini file (or registry or whatever) that uses a format like this: ----License File------------------------------------------ -- Do not tamper with this file or your license will be -- -- broken and you will have to purchase another copy. -- ---------------------------------------------------------- >84753984573094 #849HW98FH9WFAKJSH08 The number after the bracket is the licensed PC serial number. The number after the pound sign is a checksum of the contents of the license file. Without the license file, the program doesn't work. If the person tries to tamper with the license file, the checksum will not match and the program won't work. It has worked for me for 15 years.