• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • Last Modified:

Delphi - The best form for pick the phisycal hdd serial of computer.

hello friends i am tested codes for pick the physical serial number and in some pcs not pick, what the best codes in delphi for i am pick the physical hdd serial.
0
kidd12
Asked:
kidd12
  • 2
  • 2
2 Solutions
 
epasquierCommented:
that is not the physical serial number, but the logical volume serial. Totally different. Besides, the volume serial can be changed with software, it should not be considered neither unique not secured to use in protection / licence mechanisms

have a look at this dll (free), it has all you need
http://www.soft.tahionic.com/download-hdd_id/hardware%20ID%20programmer's%20DLL.html

You could also do it yourself using WMI, but why the trouble if this dll works well ? I'll test it myself when I have time
0
 
epasquierCommented:
that source code looks good also, if you don't need or don't want to use WMI (can be slow)
http://stackoverflow.com/questions/5202270/in-delphi7-how-can-i-retrieve-hard-disk-unique-serial-number

there is even a WMI example below in the same page
0
 
ThommyCommented:
@epasquier
What you are mentioning is correct.
My suggested code is only for the logical volume serial...

But here's another one for physical harddisk serial number...

IDE harddisk serial number
http://www.delphi3000.com/articles/article_1164.asp?SK=






0
 
mlmccCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now