title: Downloading string from URL and loading ListBox with the returned data?
body: <p>I'm downloading a string file from a website, I need to get all the information and load the listBox with the text, unfortunately Im getting an error every time I click in the button event.</p>
  
  <p>My code:</p>
  
  <pre><code>var httpClient = new HttpClient();
              var text = await httpClient.GetStringAsync(@"http://photo-51.netau.net/changelog");
              StreamReader sr = new StreamReader(@text, System.Text.Encoding.Default);//here I have an Invalid Path Character error
              string line;
  
              while ((line = sr.ReadLine()) != null)
              {
                  listBox1.Items.Add(line);
              }
  </code></pre>
  
  <p>I have and Invalid Character in the Path. How can I fix it?</p>