SyntaxFix
Write A Post
Hire A Developer
Questions
I ran into same issue below piece of code worked for me
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.Headers["UserAgent"] = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"