I\'m making an HTTP call. My response contains a session code X-BB-SESSION in the header section of the HttpResponseMessage object. How do I get th
X-BB-SESSION
HttpResponseMessage
You can do this more easily now with
var session = response.GetHeaderValue("X-BB-SESSION");
Method returns null if the header does not exist.
null