Lock Application using a hardware component's serial number

Hello,
   
   I am trying to find a way to prevent illegal use for my application by getting a hardware component serial number and put it somewhere. Then, my application wil retrieve this info. and do the check.

  What hardware component you suggest to use for this job? CPU? Motherboard? MAC address of the network card (even some machines doesn't have network cards).

  And how to get this serial number from hardware component using Delphi code?

  I need something works on all hardware vendors which my application might run on.
i7madAsked:
Who is Participating?
 
SteveBayConnect With a Mentor Commented:
There are some components to do this sort of thing here:
http://sourceforge.net/projects/tponguard/
Look specifically at the CreateMachineID function

 I have avoided using MAC addressed because many of my users have machine with more than one NIC and therefore it can cause you to have to account for all of them and makes for a rather complicated licensing system.
0
 
i7madAuthor Commented:
does that work on Delphi 2009?
0
 
SteveBayCommented:
I don't know, as I have not started using D2009 yet. I do know that the source is included so you should be able to recompile it at least for D2007.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.