You will want to use the classes in the System.Management namespace to
access the WMI providers. Basically, you want to query the system for all
instances of the Win32_PhysicalMemory WMI class. On that class, there is a
Capacity property you can use to get the memory for that particular board
(each instance of the Win32_PhysicalMemory WMI class will represent a
different memory board).