开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜