http://www.lukepaynesoftware.com/articles/programming-tutorials/changing-the-user-agent-in-a-web-browser-control/ Changing the User Agent in a web browser control Changing the User Agent for C# Projects A short time ago I completed a project for a co…
Also, there is a refresh option in the function (according to MSDN). It worked well for me (you should set it before any user agent change). Then the question code could be changed like this: [DllImport("urlmon.dll", CharSet = CharSet.Ansi)] pri…