Month of December 2011

How to add a custom header in HttpWebRequest

Adding a custom HTTP header to an HttpWebRequest object, targetting Windows Phone 7, is done through the Headers property. The good thing that it works for a lot of other .NET target platforms as well.