我想强制WebBrowser控件在Windows Phone 8 App中打开带有移动界面的网站。我尝试了这个,但它不起作用
string header = "User-Agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)";
webBrowser.Navigate(new Uri(link, UriKind.Absolute), null, header);