I am a beginner in using WebBrowser Control in C#. I try to change the User Agent string in
a WebBrowser control in my Windows form. How can i do this ?
Please Help.
You can set any additional headers in the Navigate method of WebBrowser
WebBrowser wc = new WebBrowser();
wc.Navigate("http://google.com", null, null, "User-Agent: User agent");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With