Solved

Lock Application using a hardware component's serial number

Posted on 2009-05-17
3
518 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month6 days, 10 hours left to enroll

634 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