title: C# NullReferenceException on Win32_PhysicalMemory
body: <p>I have the following struct;</p>
  
  <pre><code>static Memory memory;
  
    public struct Memory
    {
        public string Name;
        public string Manufacturer;
        public string MemoryType ;
        public string Speed;
        public string DeviceLocator;
        public string Capacity;
        public string OtherInfo;
    };
  </code></pre>
  
  <p>I can obtain everything but the following:</p>
  
  <pre><code>    ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMemory");
           ManagementObjectCollection myobject = searcher.Get();
               foreach (ManagementObject item in myobject)
               {
                  memory.OtherInfo = item["OtherIdentifyingInfo"].ToString();
               }
  </code></pre>
  
  <p>When i try to do the above, i get:</p>
  
  <pre><code>Object reference not set to an instance of an object.
  </code></pre>
  
  <p>Do i have to somehow create an instance of  <code>item["OtherIdentifyingInfo"]</code>?</p>