cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/30/14:06:53

Message-Id: <m0wtXGK-000S1kC@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: James MacDonald <trill AT netbook DOT demon DOT co DOT uk>, djgpp AT delorie DOT com
Date: Wed, 30 Jul 1997 15:11:40 +0000
MIME-Version: 1.0
Subject: Re: Obtaining system ID with DJGPP

James MacDonald <trill AT netbook DOT demon DOT co DOT uk> wrote:

> 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?

Don't do that! What happends if the user changes from Windows 3.1 to Windows 
95? The MBR will be changed! (Fuck Bill idiot crazy man) and your program will 
fail.
You can read the BIOS manufacturer information and combine it with HD model. 
But what happends if the user upgrades your mother or HD? .... (The HDs have a 
serial number).
You can't do much, can you use a file? for example a hiden file in the root ...

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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