Specify User Agent for WPF WebBrowser Control
I need to alter the default User Agent used by the WPF WebBrowser control. I have looked at th开发者_JS百科e properties of the IWebBrowser2 object behind the control, and tried specifying the user agent by specifying it when calling "Navigate" as Suggested Here
Is this possible?
The solution could be like the following Changing the UserAgent of the WebBrowser control -Winforms C#
URLMkSetSessionOption. http://blogs.msdn.com/b/ieinternals/archive/2009/10/08/extending-the-user-agent-string-problems-and-alternatives.aspx
精彩评论