🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2821

How to get unique harddisk-id?

#2821
From: MR
Date: Sun, 31 Dec 2006 01:10
20 lines
1364 bytes
How to get unique harddisk-id?

I've read each harddisk has an id stored in it which has nothing to do
with it's partitions and is not concerned when changing the disk's
partitions, formating, etc.

I can get this Id with a harddisk-tool (e.g. Paragons Harddisk
Manager).

How can I read it from inside my application?
Using GetVolumeInformation() seems *not* to be the right way, because
it just delivers the IDs from the partitions and it's result is
different for each partition on a single harddisk (and it is also
different from the harddisk-id a harddisk-tool (see above) delivers.


Thanks a lot,

Michael
Technical Details
Message-ID: <f13ep21ag4oj3ovrpdvgdkdp8jijleg4r8@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ba3cfd46032d1119,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: <MR>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to get unique harddisk-id?
Date: Sun, 31 Dec 2006 02:10:31 +0100
Message-ID: <f13ep21ag4oj3ovrpdvgdkdp8jijleg4r8@4ax.com>
X-Newsreader: Forte Free Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 88.64.3.198
X-Trace: newsgroups.borland.com 1167527219 88.64.3.198 (30 Dec 2006 17:06:59 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail