home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / Chip_2003-01_cd1.bin / zkuste / delphi / kompon / d5 / MREGAPP.ZIP / readme.txt < prev    next >
Encoding:
Text File  |  2002-08-09  |  2.9 KB  |  79 lines

  1.  
  2. Component Name: TmRegApp
  3.         Author: Mats Asplund
  4.       Creation: 2002-08-03
  5.        Version: 1.0
  6.    Description: An application registration component.
  7.         Credit: Thanks to Oleg Petkov, http://olegpetkov.dir.bg/
  8.                 for providing the code/decode-routines.
  9.         E-mail: masprod@telia.com
  10.           Site: http://go.to/mdp
  11.   Legal issues: All rights reserved 2002« by Mats Asplund
  12.  
  13. Usage:
  14.   This software is provided 'as-is', without any express or
  15.   implied warranty.  In no event will the author be held liable
  16.   for any  damages arising from the use of this software.
  17.  
  18.   Permission is granted to anyone to use this software for any
  19.   purpose, including commercial applications, and to alter it
  20.   and redistribute it freely, subject to the following
  21.   restrictions:
  22.  
  23.   1. The origin of this software must not be misrepresented,
  24.      you must not claim that you wrote the original software.
  25.      If you use this software in a product, an acknowledgment
  26.      in the product documentation would be appreciated but is
  27.      not required.
  28.  
  29.   2. Altered source versions must be plainly marked as such, and
  30.      must not be misrepresented as being the original software.
  31.  
  32.   3. This notice may not be removed or altered from any source
  33.      distribution.
  34.  
  35.   4. If you decide to use this software in any of your applications.
  36.      Send me an EMail and tell me about it.
  37.  
  38. Quick Reference:
  39.   TmRegApp inherits from TComponent.
  40.  
  41.   Key-Properties:
  42.  
  43.     P: The password. Automatically coded. Otherwise it could be read in the
  44.     resource part of the exe-file. Note! Set password at designtime. Otherwise
  45.     it will not work.
  46.  
  47.     CodeKey: Key used for coding/decoding. Change this to anything you like.
  48.  
  49.     DaysToUse: The number of days before registering is needed.
  50.  
  51.     FakeGUID: A false GUID used as key in Registry. You should change this,
  52.     otherwise others with knowledge of this component could find it.
  53.  
  54.   Key-Methods:
  55.  
  56.     Init: Should be called each time the application starts executing. Returns
  57.           the days left before registrering is needed. If the app. is registered
  58.           -1 is returned.
  59.  
  60.     MoveBack: Read this to see if user has manipulated the clock. If true,
  61.               the user has moved the clock back more then one day compared with
  62.               the lastuse date. In this case 0 will be returned (and will
  63.               continue to do so until registered), when calling the Init function.
  64.  
  65.     ClearReg: Deletes all Registry-entries made.
  66.               (Deletes the FakeGUID-key from Registry.)
  67.  
  68.     CheckPassWord: Returns true if password is correct.
  69.                    If so the values: 'DaysToUse', 'Expire', 'LastUse' will be
  70.                    deleted from Registry. The value: 'Registered' will be set true.
  71.  
  72.     ExpireDate: Returns Expiredate as a string.
  73.  
  74.     InstallationDate: Returns Installationdate as a string.
  75.  
  76.     LastUseDate: Returns the date of last use as a string.
  77.  
  78.  
  79.