Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Lock Application using a hardware component's serial number

Posted on 2009-05-17
3
Medium Priority
?
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
SteveBay earned 2000 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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

721 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