I am starting to use WebBrowser Control in C #. I am trying to change the User Agent string in
WebBrowser control in my windows form. How can i do this?
Please, help.
You can set any additional headers in the WebBrowser navigation method.
WebBrowser wc = new WebBrowser(); wc.Navigate("http://google.com", null, null, "User-Agent: User agent");