[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:
https://www.github.com/graemeg/onguard/
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.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list