www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/29/16:37:07

From: James MacDonald <trill AT netbook DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Obtaining system ID with DJGPP
Date: Tue, 29 Jul 1997 17:58:00 +0100
Organization: Trills and Technologies
Distribution: world
Message-ID: <OYshiFAYEi3zEwtD@netbook.demon.co.uk>
NNTP-Posting-Host: netbook.demon.co.uk
MIME-Version: 1.0
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'd like to be able to obtain a unique system ID for computers. This
system ID should stay the same, but be unique.

I propose to read the MBR and boot sector of the hard drive, combine the
512 byte buffers together to make a 1024-byte buffer, and then do
something with that buffer. But what could I do?

Checksum?
First x bytes added to last y bytes?
Pick out ten bytes at position xxx?

-- 
No anti-spam in use : remove absolutely nothing to reply - 
'netbook' stays 'netbook' thanks to blasted Turnpike.

Thermonuclear warheads no longer available.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019