Hardware/Mainboard/SMBIOS.cs
changeset 126 2354fdb91ac4
parent 103 0845adc5402e
child 130 80065ab20b84
     1.1 --- a/Hardware/Mainboard/SMBIOS.cs	Sat May 22 15:51:59 2010 +0000
     1.2 +++ b/Hardware/Mainboard/SMBIOS.cs	Mon May 24 15:27:46 2010 +0000
     1.3 @@ -193,6 +193,7 @@
     1.4        private string version;
     1.5        private string serialNumber;
     1.6        private Manufacturer manufacturer;
     1.7 +      private Model model;
     1.8  
     1.9        public BaseBoardInformation(byte type, ushort handle, byte[] data,
    1.10          string[] strings)
    1.11 @@ -219,7 +220,22 @@
    1.12            case "MICRO-STAR INTERNATIONAL CO.,LTD":
    1.13              manufacturer = Manufacturer.MSI; break;
    1.14            default:
    1.15 -            manufacturer = Manufacturer.Unkown; break;
    1.16 +            manufacturer = Manufacturer.Unknown; break;
    1.17 +        }
    1.18 +
    1.19 +        switch (productName) {
    1.20 +          case "LP BI P45-T2RS Elite":
    1.21 +            model = Model.LP_BI_P45_T2RS_Elite; break;
    1.22 +          case "LP DK P55-T3eH9":
    1.23 +            model = Model.LP_DK_P55_T3eH9; break;
    1.24 +          case "EP45-DS3R":
    1.25 +            model = Model.EP45_DS3R; break;
    1.26 +          case "GA-MA785GMT-UD2H":
    1.27 +            model = Model.GA_MA785GMT_UD2H; break;
    1.28 +          case "P35-DS3":
    1.29 +            model = Model.P35_DS3; break;
    1.30 +          default:
    1.31 +            model = Model.Unknown; break;
    1.32          }
    1.33        }
    1.34  
    1.35 @@ -233,6 +249,8 @@
    1.36  
    1.37        public Manufacturer Manufacturer { get { return manufacturer; } }
    1.38  
    1.39 +      public Model Model { get { return model; } }
    1.40 +
    1.41      }
    1.42    }
    1.43  }