I have just discovered new information that you should know about. Please make sure you have already read the previous article first otherwise nothing would make sense to you in here.
- The InterfaceType of some SATA hard drives are returned as SCSI rather than IDE
- If the Hard Drive returns a proper serial number you need to watch for the underscore character. Please see below for more details.
I have noticed some hard drives that do return proper serial numbers have some extra information. The extra information is a suffix to the serial number that starts with the underscore character. I have no idea what the extra information is.
Example:
IDE\
DISKWDC_WD800BB-00CAA1______________________17.07W17\
4457572D41434538333438343132_035_0_0_0_0
Code Example:
To extract the serial number property before converting the hex string to string then to do the reversing process your code should look something like the following;
I like to thank Krzysztof Kosmic and Joe for sending me the data to discover my new findings. Obviously I would add more findings as I discover them.
Happy Coding!