Load in memory text into WebBrowser control

前端 未结 3 823
灰色年华
灰色年华 2021-02-15 17:52

On the .Net WebBrowser control the only way I can see to load a page to it is to set the URL property. But I would like to instead give it some HTML code that I already have in

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-15 18:19

    Also, generally, anywhere you can use a Stream, you can use MemoryStream to wrap data you have in memory.

提交回复
热议问题