>>>I saw a post may a year or two ago that had an API call to return the hard disk serial number. I can't seem to locate any such reference in the MSDN help behemoth.
>>>Anyone remember it?
>>
>>G'day David,
>>
>>It's GetVolumeInformation(). There have been several threads on this in the past few weeks. Just do a search on the function name, and you'll get all the particulars.
>
>Thanks George!
>Do you reckon that this could be used for license and operating security? Any pitfalls - better ways?
Hi David,
Yes, it could but I wouldn't. Simply because if the drive is ever formatted, a new serial number is created.
I'll defer on the second part of the question. In my work, I have no use for it. Someone with more experience in the area would be of more help.
George
Ubi caritas et amor, deus ibi est