I would like to ask how can I get (read) the serial number of a hard drive disk with c++ buider so I can use it to protect my software, actually I want to send a copy of my software to a single person wich he will use this software in a single PC.
I would like to ask how can I get (read) the serial number of a hard drive disk with c++ buider so I can use it to protect my software, actually I want to send a copy of my software to a single person wich he will use this software in a single PC.
I think you mean the volume id which can easily be changed, not the harddisk's serial number, programmed by the manufacturer (see eltonjohn's picture above).