I'm developing a project that uses the HDD serial number of main disk to elaborate a machine fingerprint.
I want to clear something. I have seen many post everywhere talking about the partition signature as if was the HDD serial number. I'm talking about the HDD SERIAL NUMBER provided by the disk when is consulted.
In that process I encountered and error in a client machine. I had the oportunity to make experiments with that machine, and seems each time the code requests the serial number using the WMI, the system return sometime the correct value and sometimes returns string apparently random.
The code is working good in aproximately 200 different machines... but in that machine fails...
I assumed maybe is a malfunction in the harddisk.
So... I want to know if somebody know (if that exists): What are the allowed characters in a harddisk's serial number?
If I can check the characters, I can retry the request until to get a "logic" serial value.
PD: Excuse me if my expressions in english are not correctly or the introduction too long. :)