How do I access HTML content in using the following process? I have written a C# WPF application that used the WebBrowser class. I have overwritten the LoadCompleted method. I am trying to expose the document by using the webbrowser1_LoadCompleted method. But my IDE does not recognize mshtml or HTMLDocument. Please help.