mregapp40_D567
所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:15KB
下载次数:6
上传日期:2012-11-08 00:10:51
上 传 者:
baraozemo
说明: Delphi component to easily created trial programs,
very usefull and stable
文件列表:
mRegApp.pas (14514, 2004-03-03)
RegKeyCreator.res (1536, 2003-10-06)
ucrearegkey.dfm (13818, 2002-11-18)
ucrearegkey.pas (2173, 2003-10-06)
Unit1.dfm (2686, 2003-10-06)
Unit1.pas (2222, 2003-10-06)
demo.dpr (184, 2003-10-06)
demo.res (1536, 2002-11-18)
mregapp.dcr (472, 2002-08-04)
mregapp_pkg.dpk (677, 2003-10-10)
mregapp_pkg.res (1536, 2003-10-06)
RegAppCfgDataEditor.dfm (2681, 2003-10-10)
RegAppCfgDataEditor.pas (4616, 2003-10-10)
RegKeyCreator.dpr (205, 2003-10-06)
Component Name: TmRegApp
Author: MASoft, Mats Asplund
Creation: 2002-08-03
Version: 4.0
Description: An application registration component.
Credits: Thanks to Oleg Petkov, http://olegpetkov.dir.bg/
for providing the code/decode-routines.
Thanks to Ferruccio Accalai, for providing
the single computer-workstation Registration option.
E-mail: mdp@telia.com
Site: http://hem.passagen.se/matasp
Legal issues: All rights reserved 2002-2003 by MAsoft, Mats Asplund
Usage:
This software is provided 'as-is', without any express or
implied warranty. In no event will the author be held liable
for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it
and redistribute it freely, subject to the following
restrictions:
1. The origin of this software must not be misrepresented,
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated but is
not required.
2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
4. If you decide to use this software in any of your applications.
Send me an EMail and tell me about it.
Quick Reference:
TmRegApp inherits from TComponent.
Key-Properties:
PLock: Locks the password. Set PLock to false at designtime, before entering
the password.
MachineDependent: Set this to true, before entering the password, if the
installation should be a one-machine-only installation.
P: The password. Automatically coded. Otherwise it could be read in the
resource part of the exe-file. Note! Set password at designtime. Otherwise
it will not work.
InstallKey: Used when the installation should be Machinedependent. The
user should send this Installkey to the vendor, and get an unique
ResultPwd in return. Use the RegKey Creator application to generate the
ResultPwd.
CodeKey: Key used for coding/decoding. Change this to anything you like.
DaysToUse: The number of days before registering is needed.
FakeGUID: A false GUID used as key in Registry. You should change this,
otherwise others with knowledge of this component could find it.
Key-Methods:
Init: Should be called each time the application starts executing. Returns
the days left before registrering is needed. If the app. is registered
-1 is returned.
ClearReg: Deletes all Registry-entries made. (Deletes the FakeGUID-key from
Registry.)
CheckPassWord: Returns true if password is correct. If so the values:
'DaysToUse', 'Expire', 'LastUse' will be deleted from Registry. The value:
'Registered' will be set true.
GetMoveBack: Read this to see if user has manipulated the clock. If true,
the user has moved the clock back more then one day compared with
the lastuse date. In this case 0 will be returned (and will
continue to do so until registered), when calling the Init function.
GetExpireDate: Returns Expiredate as a string.
GetInstallationDate: Returns Installationdate as a string.
GetLastUseDate: Returns the date of last use as a string.
GetInstallKey: Returns the InstallKey as a string.
近期下载者:
相关文件:
收藏者: