How do i goi about assigning a unique serial number to each new copy of a program in delphi?

For example:
Application 1 - 12345
Application 1 - 12346
Application 1 - 12347
Application 1 - 12348

Ok. So basically each new copy of the same program has a unique serial no.

Any ideas?

Cheers,

Carson

i think that is impossible to controle how many copies exist on a computer. because you can not have acces to OS's kernel, to manage the way how the files are copied.

if you are refering to installed programs, i can suggest you to put that ID in registries or create some file in an deep windows structure.

best regards,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.