0

Possible Duplicate:
how to get motherboard id or serial number ?[Delphi]

Is there any free component to get the motherboard serial number in Delphi?

Community
  • 1
  • 1
Kermia
  • 3,963
  • 11
  • 56
  • 104
  • 4
    May be duplicated : http://stackoverflow.com/questions/2497253/how-to-get-motherboard-id-or-serial-number-delphi – SimaWB Sep 01 '10 at 09:05
  • Doesn't work for Delphi 2010 , And as i said , i need a free component – Kermia Sep 01 '10 at 09:16
  • 1
    @TOndrej: I know that the Stack Exchange software sometimes forget to mention that a question or answer has been changed, but it sure seems like he did say that ("is there any **free** component ?"). – Andreas Rejbrand Sep 01 '10 at 11:01
  • 2
    As far as I can see, RRUZ's approach would work perfectly in Delphi 2010, and WMI is a part of Windows (2000 and later), and since you are using Delphi, I guess one can assume that the end-users of your applications actually are using Windows (2000 and later), and have WMI "installed" already. – Andreas Rejbrand Sep 01 '10 at 11:03

2 Answers2

3

If you absolutely need a component : MagWMI component allows access and update of windows system information using Windows Management Instrumentation(WMI)

SimaWB
  • 9,087
  • 2
  • 34
  • 44
  • 1
    We use MagWMI for low level hardware access (drive serial number, etc.) and are happy with it. Note to original poster: If you are thinking about using the motherboard serial number as part of a licensing scheme, as far as I know, motherboard serial numbers are not totally unique. If you purchase 2 of the same boards, for example, they'll have the same serial number. (If others here know better, please correct me.) – RobertFrank Sep 01 '10 at 12:39
1

If you are looking for a free Delphi WMI library, have a look at GLibWMI project by StackOverflow user Neftalí

Community
  • 1
  • 1
kludg
  • 26,590
  • 4
  • 63
  • 115