Changed the name of RAM hardware to be always "Generic Memory" because the information from the SMBIOS table is not reliable.
authormoel.mich
Sun, 14 Jul 2013 13:57:13 +0000
changeset 4103e69541ad89a
parent 409 2ce8da367490
child 411 9e208c26722f
Changed the name of RAM hardware to be always "Generic Memory" because the information from the SMBIOS table is not reliable.
Hardware/RAM/RAMGroup.cs
     1.1 --- a/Hardware/RAM/RAMGroup.cs	Sun Jun 30 16:24:52 2013 +0000
     1.2 +++ b/Hardware/RAM/RAMGroup.cs	Sun Jul 14 13:57:13 2013 +0000
     1.3 @@ -24,15 +24,7 @@
     1.4          return;
     1.5        }
     1.6  
     1.7 -      string name;
     1.8 -      if (smbios.MemoryDevices.Length > 0) {
     1.9 -        name = smbios.MemoryDevices[0].ManufacturerName + " " + 
    1.10 -          smbios.MemoryDevices[0].PartNumber;
    1.11 -      } else {
    1.12 -        name = "Generic Memory";
    1.13 -      }
    1.14 -
    1.15 -      hardware = new Hardware[] { new GenericRAM(name, settings) };
    1.16 +      hardware = new Hardware[] { new GenericRAM("Generic Memory", settings) };
    1.17      }
    1.18  
    1.19      public string GetReport() {