title: Convert System.Drawing.Icon to System.Media.ImageSource
body: <p>I've got an IntPtr marshaled across an unmanaged/managed boundary that corresponds to an Icon Handle.  Converting it to an Icon is trivial via the FromHandle() method, and this was satisfactory until recently.</p>
  
  <p>Basically, I've got enough thread weirdness going on now that the MTA/STA dance I've been playing to keep a hosted WinForm from breaking the primary (WPF-tastic) UI of the application is too brittle to stick with.  So the WinForm has got to go.</p>
  
  <p>So, how can I get an ImageSource version of an Icon?</p>
  
  <p>Note, I've tried ImageSourceConverter to no avail.</p>
  
  <p>As an aside, I can get the underlying resource for <em>some</em> but not all of the icons involved and they generally exist outside of my application's assembly (in fact, they often exist in unmanaged dll's).</p>