browserheaderwindows-phonecustom-headers

creating a custom header in windows phone browser


Hey I want to create a custom header in windows phone that is send when I use the webbrowser1.navigate according to msdn http://msdn.microsoft.com/en-us/library/cc491275.aspx the function has an additionalHeaders argument but I cant get it to work in my app and keep getting a error saying that the webbrowser.navigate don't take 4 arguments. Hope there is something simple I'm doing wrong, or there is another way to add custom headers to the phone:WeBrowser.


Solution

  • You are using the wrong Navigate version, the one you linked is WPF-specific. Use this signature instead WebBrowser.Navigate.