title: How to capture XMLHTTP requests in a Webbrowser Control?
body: <p><code>BeforeNavigate2</code> event or any other similar event don't catch XMLHTTP requests in a WebBrowser Control. Is there anyway to solve this problem?</p>
  
  <p>This is a .NET project. </p>
  
  <p><strong>Edit:</strong></p>
  
  <p><a href="http://groups.google.com/group/microsoft.public.inetsdk.programming.mshtml_hosting/msg/76bf4910a289d4b3" rel="nofollow noreferrer">I've found this C++ application</a> which apparently can be used to solve this problem, but <a href="http://www.tech-archive.net/Archive/InetSDK/microsoft.public.inetsdk.programming.webbrowser_ctl/2006-11/msg00046.html" rel="nofollow noreferrer">porting it to managed code doesn't look possible</a>. Maybe I should change the C++ to a COM object and call it from .NET -which won't be easy since it doesn't even compile in VS 2008 due ATL changes I suppose-.</p>