How can one convert the response recieved from Uri through WebClient into a human readable string.
I have tried.
- System.Text.Encoding
- Convert.ToBase64String, Convert.FromBase64String
Thanks
Regards
Know the answer? Post it. Somebody with the same question will find it here.
siddhartha sharna126 pointsPosted Oct 29, 2017, 12:09 AM EDT
WebClient wc = new WebClient(); wc.Headers.Add("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"); wc.Headers.Add("Accept", "*/*"); wc.Headers.Add("Accept-Language", "en-gb,en;q=0.5");Rightthen35 pointsPosted Oct 31, 2017, 9:13 PM EDT