SyntaxFix
Write A Post
Hire A Developer
Questions
You should create a StreamReader around the stream, then call ReadToEnd.
StreamReader
ReadToEnd
You should consider calling WebClient.DownloadString instead.
WebClient.DownloadString