title: How do you determine if WPF is using Hardware or Software Rendering?
body: <p>I'm benchmarking a WPF application on various platforms and I need an easy way to determine if WPF is using hardware or software rendering.  </p>
  
  <p>I seem to recall a call to determine this, but can't lay my hands on it right now.</p>
  
  <p>Also, is there an easy, code based way to force one rendering pipeline over the other?</p>