title: Change User Agent on WPF/XAML Web Browser control?
body: <p>Is it possible to change the user agent on the XAML webbrowser control? The code as currently written looks like this:</p>
  
  <pre><code>&lt;Window
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="WpfApplication5.Window1"
  x:Name="Window"
  Title="Test01 - Browser"
  Width="1024" Height="600"&gt;
  
  &lt;Grid x:Name="LayoutRoot"&gt;
      &lt;WebBrowser x:Name="webBrowser" Source="http://gmail.com"/&gt;
  &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>Is it possible to change the user agent of this control? I am a complete newbie, as in, less than 4 hours of total coding, so please forgive me if this is obvious to anyone else. I have searched the MSDN page for the control (http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx) with no apparent solution given, so I'm asking in the hopes that it is easy.</p>
  
  <p>I have absolutely zero C# or XAML experience outside of today. I'm a classic ASP (web) guy who needs to move into the modern world of desktop programming. This is merely a test application to see if things are possible. Since I'm a classic web guy, having a basic application that I can test with to verify user agents would be a handy tool to have.</p>
  
  <p>Thanks,
  Beems</p>