Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Hardware id...

Posted on 1998-04-21
1
Medium Priority
?
1,038 Views
Last Modified: 2008-02-01
how can i detect the BIOS or motherboard serial number ?
(delphi code please)

       thanks!!!
       kort77
0
Comment
Question by:kort77
[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
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 120 total points
ID: 1335857
Hi kort77,

I don't know what you want to do with it but I guess it's for some sort of copy-protection, well, you can't make something 'water-profed' copy protected. For instance if you use the BIOS number. What if the user updates his BIOS. Poof, program doesn't work anymore...
So I would be very causios using such things for serial numbers. Think thoroughly before you use them!

Here is a component doing it : www.bhnet.com.br/~simonet (ASPowertools)

Another usefull method :

Get serial ID of drive :

function GetSerialIDEx: string;
                              var
                                VolumeSerialNumber : DWORD;
                                MaximumComponentLength : DWORD;
                                FileSystemFlags : DWORD;
                                SerialNumber : string;
                              begin
                                GetVolumeInformation('C:',
                                                     nil,
                                                     0,
                                                     @VolumeSerialNumber,
                                                     MaximumComponentLength,
                                                     FileSystemFlags,
                                                     nil,
                                                     0);
                                SerialNumber := IntToHex(HiWord(VolumeSerialNumber), 4) +
                                                '-' +
                                                IntToHex(LoWord(VolumeSerialNumber), 4);
                                Result:=SerialNumber;
                              end;

Regards, Zif.
0

Featured Post

Technology Partners: 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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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

610 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