Answer the question
In order to leave comments, you need to log in
How to get specific HttpWebRequest response header in c#?
HttpWebResponse response1 = (HttpWebResponse)req1.GetResponse();
StreamReader reader1 = new StreamReader(response1.GetResponseStream());
File.WriteAllText(@"C:\result.txt", reader1.ReadToEnd());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question