// Get HTTP response. If this is not an HTTP response, you need to know the encoding yourself.
using (HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse())
{
// If not an HTTP response, then response.CharacterSet must be replaced by a predefined encoding, e.g. UTF-8.
using (var reader = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding(response.CharacterSet)))
{
// Read whole stream to string.
string tmpStreamData = reader.ReadToEnd();
MessageBox.Show(tmpStreamData);
}
}