I am trying to set the HttpRequestHeader for the HttpWebRequest as follows:
new HttpWebRequest().Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/4.0");
But I get an exception: System.ArgumentException: This header must be modified using the appropriate property .
How do I set the title?
Mr. Flibble
source share