2

I have a question, if you can get the HD speed (RPM), if memory is DDR1, DDR2, DDR3, if the HD is SATA or IDE socket and chipset and motherboard ... If it is possible to phase it in Delphi

Thank You

TLama
  • 75,147
  • 17
  • 214
  • 392
Jose Eduardo
  • 487
  • 9
  • 27

1 Answers1

7

To check if the memory is DDR1, DDR2, DDR3 you can use the Win32_PhysicalMemory wmi class and the MemoryType property.

To check if the HDD is SATA or IDE you can use the Win32_DiskDrive, Win32_IDEController and Win32_SCSIController WMI classes.

for chipset info check the Win32_VideoController class

for Motherboard information use the Win32_BaseBoard class.

Now for access these WMI classes using Delphi code you can use the WDCC (WMI Delphi Code Creator) tool.

RRUZ
  • 134,889
  • 20
  • 356
  • 483
  • 1
    In Win32_PhysicalMemory - MemoryType returns 0 or unknown, and the two cards I have are DD3 memory. Already in Win32_DiskDrive returned IDE me more if my SATA is in Win32_IDEController me not returned what I needed and I returned also Win32_SCSIController not what I need. On Motherboard I do not have the information it's Socket. If you can help me ... thank you – Jose Eduardo Sep 03 '12 at 16:34
  • If some of the above classes are not retrieving the info which you are looking for, you must post `a separate question` for each class, posting the current code which you are using and the version of windows. – RRUZ Sep 03 '12 at 16:43
  • It would be useful I just get caught up memory is DDR2, DDR3 and type of HD, SATA or IDE ... The properties I have no more are correct. – Jose Eduardo Sep 03 '12 at 16:52