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



--
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
begin:vcard
fn:Neven MacEwan
n:MacEwan;Neven
email;internet:[EMAIL PROTECTED]
tel;work:649 620 1356
tel;fax:649 620 1336
tel;cell:0274 749 062
version:2.1
end:vcard

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

Reply via email to