title: Using ManagementClass.Getinstances() from IronPython
body: <p>I have an IronPython script that looks for current running processes using WMI. The code looks like this:</p>
  
  <pre><code>import clr
  clr.AddReference('System.Management')
  from System.Management import ManagementClass
  from System import Array
  mc = ManagementClass('Win32_Processes')
  procs = mc.GetInstances()
  </code></pre>
  
  <p>That last line where I call the <code>GetInstances()</code> method raises the following error:</p>
  
  <pre><code>Traceback (most recent call first):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  SystemError: Not Found
  </code></pre>
  
  <p>I am not understanding what's not being found?!? I believe that I may need to pass an instance of <code>ManagementOperationObserver</code> and of <code>EnumerationOptions</code> to <code>GetInstance()</code> however, I don't understand why that is, since the method with the signature <code>Getinstance()</code> is available in <code>ManagementClass</code>.</p>