I have a Windows Form program that will generate HTML code dynamically and a WebBrowser will display the generated code.
Is it the only way, to save a temp HTML file, then display it in thw WebBrowser? Is there a way that I don’t need to save and display instantly in the WebBrowser?
Yes. You can use the WebBrowser.DocumentStream property like this:
Hope it helps!