0

I am using

WebClient c = new WebClient();
c.Encoding = Encoding.UTF8;
var vLogin = c.DownloadString("http://www.www");

And it returns an HTML, but it appears &lt; instead of < and &gt; instead of >

How can I solve this?

Richard Schneider
  • 34,944
  • 9
  • 57
  • 73
Diego
  • 11
  • 2

1 Answers1

1

These (&lt; and &gt;) are standard HTML character entities. You can use an HTML decoder to get "normal" character.

See How can I decode HTML characters in C#? fore more details.

Community
  • 1
  • 1
Richard Schneider
  • 34,944
  • 9
  • 57
  • 73