AddHeader Method
Adds an HTTP header to the request.
Syntax
[VB.NET] Public Sub AddHeader(ByVal Name As String, ByVal Value As String)
[C#] public void AddHeader(string name, string value);
Remarks
This method appends a header to the HTTP request.
Use this method with caution. If an invalid header is added, the HTTP request may fail.