Solved

Lock Application using a hardware component's serial number

Posted on 2009-05-17
3
499 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 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 133
creating threads in delphi 1 164
FMX TEdit KeyUp handler detecting  "enter" key 4 41
Problem working with dynamic array - help 2 36
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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