title: C# & Windows Update Api (WUApiLib)
body: <p>I am using Windows Update API (WUApiLib) in a C# .NET 2.0 project.</p>
  
  <p>I get the following error on Windows XP (in Windows 7 it works alright): </p>
  
  <p><strong>"System.MissingMethodException: Method not found: 'WUApiLib.UpdateSearcher WUApiLib.UpdateSessionClass.CreateUpdateSearcher()'."</strong></p>
  
  <p>This is my code:</p>
  
  <pre><code>WUApiLib.UpdateSessionClass session = new WUApiLib.UpdateSessionClass();
  WUApiLib.IUpdateSearcher searcher = session.CreateUpdateSearcher();
  WUApiLib.ISearchResult result = searcher.Search("Type='Software'");
  
  if (result.Updates.Count &gt; 0)
  {
      //do stuff
  }
  </code></pre>
  
  <p>The error occurs at runtime, the compiler shows no errors...</p>
  
  <p>Does anybody know why I get this error?</p>