SyntaxFix
Write A Post
Hire A Developer
Questions
You can use StreamReader.ReadToEnd(),
StreamReader.ReadToEnd()
using (Stream stream = response.GetResponseStream()) { StreamReader reader = new StreamReader(stream, Encoding.UTF8); String responseString = reader.ReadToEnd(); }