Solved

Hardware id...

Posted on 1998-04-21
1
1,028 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
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 30 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
proper way to parse text with delphi 7 101
Using idhttp to login to instagram 2 76
Delphi - replicating a form 8 65
error 1.1 400 Bad request idhttp delphi 18 55
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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

867 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

21 Experts available now in Live!

Get 1:1 Help Now