[fpc-pascal] Get "disk" ID

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Jan 7 17:54:05 CET 2019

On 05/01/2019 16:03, Bart wrote:
> I need some function to get a unique ID for a disk.

Take a look at OnGuard - which is software copy projection software
written for Delphi and FPC (originally by TurboPower Software Co). The
latest software changes I made to it can be found on Github:


See the ogutils.pas unit. If I remember correctly the hard drive
detection code worked for Windows, Linux, FreeBSD and OSX (? - not 100%
sure about this one).

Hope that helps.


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the fpc-pascal mailing list