Reputation: 332
I'm using code from other c# app and I can see that in WP7 doesn't support headers. How to change that code to work in WP7
client.Headers.Add(HttpRequestHeader.Authorization, header_auth);
Upvotes: 1
Views: 1023
Reputation: 5557
You can add Headers in WP7 like this,
client.Headers[HttpRequestHeader.Authorization] = header_auth;
Upvotes: 5