How can I set a custom Host header in HttpWebRequest? I know that normally this class doesn\'t allow you to do so but is there anyway to use reflection or something like tha
WebClient allows it.
var client = new WebClient(); client.Headers.Add( "Host", WebHeader );
I couldn't tell you why. The documentation clearly states that Host is a system header.