Loading a stream into a Silverlight WebBrowser control
Is there a way to load a stream into the Silverlight WebBrowser control?
My use case is that开发者_Go百科 I have HTML files in a XAP that I want to load into the browser without starting a webserver.
Or do I have no option but to start a thin webserver to host the content?
Its simple enough to load up the WebBrowser
control with its NavigateToString
method.
I can't shake the feeling there is more to your question though, you would surely have come across this method when first looking at this problem.
精彩评论