[DUG] Licencing schemes
Neven MacEwan
neven at mwk.co.nz
Sat Apr 29 13:13:37 NZST 2006
John
I always liked the idea of a .lic file, your app attempts to
exclusivlely open a 1 byte block until it suceeds and keeps the block
locked whilst running, This way a 10 byte file would allow for 10 users,
if the system crashes then the system is self-fixing, no messy unlock
procedures, also the name of the lic file can be a hash with the size
(stop some smartass hacking it with notepad)
if no lic file is found demo mode is used, if it fails to open a block
in the lic file, 'out of users' error
HTH
N
John Bird wrote:
> I am putting some licencing code into some programs, common sort of scheme
> where the program runs in a demo mode, but if has been registered switches
> to full mode.
>
> My preference is for licencing information to be stored only in one central
> shared file on a server, nothing in pc registrys, so that when a pc is
> upgraded or replaced there is no reinstallation needed.
>
> I think I can do a simple and pretty foolproof scheme based on this
>
> What do others use?
>
> (I would only use another scheme if it was not using registry stuff as I
> want centralised administration)
>
>
> John
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
--
Neven MacEwan (B.E. E&E)
Ph. 09 620 1356 Mob. 027 4749 062
New Address Details
===================
MWK Computer Systems
1 Taumata Rd
Sandringham
Auckland
Ph 620 1356
Fx 620 1336
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neven.vcf
Type: text/x-vcard
Size: 164 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060429/132a8e92/neven.vcf
More information about the Delphi
mailing list