问题
I need to alter the default User Agent used by the WPF WebBrowser control. I have looked at the 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?
回答1:
The solution could be like the following Changing the UserAgent of the WebBrowser control -Winforms C#
回答2:
URLMkSetSessionOption. http://blogs.msdn.com/b/ieinternals/archive/2009/10/08/extending-the-user-agent-string-problems-and-alternatives.aspx
来源:https://stackoverflow.com/questions/4670730/specify-user-agent-for-wpf-webbrowser-control