Thats totally cool...
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
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi



_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to