We supply HTML shell files with the client that we need to embed in the content and then display the HTML code.
Before displaying HTML with our content, I need to add several tags to the <head>client shell section , for example, links to our script files, css and some meta tags.
So what am I doing
string html = File.ReadAllText(wrapperLocation, Encoding.GetEncoding("iso-8859-1"));
and now I have full HTML. Then I searched for the predefined content in this line and inserted our content into it and displayed it.
How to create an instance of an HTML document and change the section <head>as needed?
edit: I do not want to reference System.Windows.Forms, so WebBrowser is not an option.