Windows Phone 8 Http request with custom header
问题 I want to send a HTTP PUT request to a WCF server from Windows Phone 8, and for identification I have to send a custom header. (assume "mycustomheader" = "abc") I was using WebClient so far, but the Webclient.Headers seems not to have an Add method, so it is not possible to send headers other then the ones in HttpRequestHeader enum. Is there any way to do this with WebClient ? I saw it is possible to set a custom header with HttpWebRequest class, but I just can't get it to do anything at all.