I am currently creating a winforms project and we have returned an html string from some method and now want to load it into the WebBrowser.
I know I can use the
WebBrowser.Document.Write()
to write html text to Webbrowser.
But my production environment doesn't allow me to do that.
The alternative is to try to navigate it to a temporary html file using
WebBrowser.Navigate(@"temp file location")
What I'm asking is:
For security reasons, redundant temporary files are not allowed in production environment.
Is there any way to skip the step of creating a temporary file?
Trying to find a way to implement it using Navigate
.