>>Any WIN API for check harddisk serial number ?
>>Have a nice day !
>
>The disk serial number that people refer to is a soft serialization number of the volume partition that's assigned when the drive is formatted; it can be altered programmatically, and will be altered every time the volume is reformatted. It also can be duplicated, and is directly settable when the Windows internal format is invoked - see SHFormatDrive() in the WinAPI section for details on how this can be used.
Also some formatting software does not support serialization. I had a VFP product that used the HD serial for activation code till about 1998 when some drives started returning 111-111-111-111 as the serial number. We now create our own serial number using a GUID.
- jim durkin
"The universe is a big place, perhaps the biggest." Kurt Vonnegut