CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    May 2007
    Location
    Denmark
    Posts
    623

    [RESOLVED] Get Type of memory from WMI

    Hi guys,

    I'm trying to get the type of memory installed in a computer, using System.Management WMI. I can't seem to find the right class for this; Win32_PhysicalMemory and Win32_PhysicalMemoryArray don't have anything that looks right, and the properties that are there all seem to return null.

    What I'd like to end up with is a string containing "DDR" or "DDR2" or whatever the type may be...

    any ideas?

    EDIT:
    Hmm.. seems I need thicker glasses... Win32_PhysicalMemory has a MemoryType property... If it works properly, it should provide what I need...
    Last edited by foamy; September 26th, 2008 at 03:18 AM.
    It's not a bug, it's a feature!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured