I need to capture each frame of System.Windows.Controls.WebBrowser
Windows 7 does that nicely, you can notice that if you open a browser with some dynamic animated content like Flash or Sliverlight and look at the previews hovering over the taskbar or Win+Tab screens with Aero enabled, you can see the performance displayed
there matches usual performance of the browser.
I have prepared a code trying to achieve the same, but this code runs much slower, the frames per second rate is very low, and causes different exceptions after few minutes of running the application.
Please take a look and tell me how to achieve the same high performance of capturing a browser rendering window each frame?
The solution is a WPF Application named "WpfWebBrowserApplication" and requires PresentationCore, PresentationFramework, ShDocVw, System.Drawing references.
Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
View Complete Post