hard disk
-
hi, how i am get serial of my hard disk.
-
hi, how i am get serial of my hard disk.
-
DWORD GetSerialNumber(int nDrive) { DWORD dwHDSerialNum = 0; if (!GetVolumeInformation(GetRoot(nDrive), NULL, 0, &dwHDSerialNum,NULL,NULL, NULL, 0)) return (DWORD)-1; return dwHDSerialNum; }
Not the true serial number, for that (I think) you have to go through WMI. What this gets is Windows internal Volume ID which may change randomly (reformatting of disk etc)
Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed
-
hi, how i am get serial of my hard disk.
-
hi, how i am get serial of my hard disk.
Open the Start menu and search for Command Prompt. Launch Command Prompt. Inside Command Prompt, type the following command and press Enter: wmic diskdrive get model,serialnumber. Command Prompt will return the models and serial numbers of your hard disks. If you are not getting the serial number then purchase the new HDD using Hard Disk Direct Discount Code 35% OFF on each hard disk.