In which format does HttpRequestHeader.Cookies need to be specified? F.e, if I want to add cookie named CITY with value NY how should I do that with WebClient.Headers.Add()
Headers.Add:
myWebHeaderCollection.Add("CITY","NY");
Here is how your Cookie header should look like at the end rfc 6265:
Cookie: CITY=NY;