Hi guys! I have two questions:
- How would I use the WMI to determine the type of hard drive present on the computer? I'm currently using the Win32_DiskDrive Class, and calling the InterfaceType property, however, it reports SATA hard drives as IDE.
Is there any way of correctly determining the type of hard drive present?
- I am trying to extract information about the RAM present on a user's computer. I am calling the Win32_PhysicalMemory class, and using the MemoryType property to determine the type of RAM present. However, I don't believe this is correct, because I'd only like to determine the DDR of the ram (DDR1, DDR2 or DDR3), however, I get outputs like "DRAM" when I know the RAM is DDR2. Also, sometimes, the memory type is reported as unknown.
Is there a more efficient way of retrieving this information?
Thanks again everyone!