How to register own protocol using the WebBrowser control?

前端 未结 2 1212
既然无缘
既然无缘 2021-01-20 08:19

In a WP7 Silverlight application with a WebBrowser control I want to use an own protocol like \"myttp://\" to deliver some local content. I can\'t use Navigate() to an Isola

2条回答
  •  一个人的身影
    2021-01-20 08:26

    The WebBrowser control will use the Windows Phone Internet Explorer Browser's HTTP stack to statisfy web requests. This HTTP stack is entirely separate from the Client HTTP stack being used by the application. Hence the browser does not see your protocol at all.

提交回复
热议问题