We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Base URI for processing

I''ve got some web pages that I want to render. The web pages are at various URLs. But, I''ve alreadly loaded a MemoryStream with the HTML itself (though not the images). It looks to me like if I want to load stuff from a stream, I can use InputHTML''s constructor that takes a stream. But, then it won''t know what Uri to use to resolve the images, stylesheets, etc on the page. If I use the constructor that takes a stream, I''d load the HTML over the net a second time. Is there a way to pass in a stream but to set some base Uri for resolving relative Url references? Thanks!

Loader.
Live Chat Icon For mobile
Up arrow icon