From: James MacDonald 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: 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 Precedence: bulk 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.