home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10365 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!Sirius.dfn.de!hpux.rz.uni-jena.de!pfk
  3. From: pfk@rz.uni-jena.de (Frank Klemm)
  4. Subject: Re: Anti-Piracy by Serial Number ?
  5. Message-ID: <1992Nov05.143630.5425@rz.uni-jena.de>
  6. Sender: news@rz.uni-jena.de (The News)
  7. Nntp-Posting-Host: cnve.rz.uni-jena.de
  8. Reply-To: pfk@rz.uni-jena.de (Frank Klemm)
  9. Organization: University Jena, Germany
  10. References:  <1992Nov3.163821.3971@msdhsv.ingr.com>
  11. Date: Thu, 05 Nov 1992 14:36:30 GMT
  12. Lines: 23
  13.  
  14.  
  15. In article <1992Nov3.163821.3971@msdhsv.ingr.com>, john@fl_gator.b17a.ingr.com (John Eason) writes:
  16. |> Hello,
  17. |> 
  18. |>   I noticed with DOS 5.0 that each floopy and hard disk has a unique
  19. |>   serial number. I would like to access this serial number from code.
  20. |>   If my code could check the number against a known serial number
  21. |>   I could detect whether the user has copied my code to another disk.
  22. |>   I am trying to hinder the piracy of my software as you might have
  23. |>   guessed. If anyone has any info it would be greatly appreciated.
  24. |> 
  25. |>   Email is prefered. Thanks.
  26. |> 
  27. |> -- 
  28. The serial number stands as a 32 bit number in the boot sector. It is
  29. interpreted as a hexadecimal number. All programs except microsofts diskcopy
  30. copy this number direct to the destination disk. Microsofts diskcopy modifies
  31. these 4 bytes. You can also use any disk editor to change the serial number.
  32. Norton Disk Editor displays these 4 bytes as "Serial number" so there is no problem
  33. to change it.
  34.  
  35. Frank
  36.  
  37.