Solved

Lock Application using a hardware component's serial number

Posted on 2009-05-17
3
484 Views
Last Modified: 2012-05-07
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.
0
Comment
Question by:i7mad
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
SteveBay earned 500 total points
ID: 24405861
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
 

Author Comment

by:i7mad
ID: 24406778
does that work on Delphi 2009?
0
 
LVL 14

Expert Comment

by:SteveBay
ID: 24406920
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

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now