My problem is that I can't get specific website html code and I get this error: 'System.Net.WebException: 'The remote server returned an error: (403) Forbidden.'
My code is simple:
using (WebClient client = new WebClient())
{
string htmlCode = client.DownloadString("http://isbnsearch.org/isbn/");
MessageBox.Show(htmlCode);
}
When I try using other website like Google everything works perfectly, but with this website I can't reach it.
Is there any solution to fix this? Thanks
well as you dont have access to isbnsearch.org, so you can just catch the error and avoid your app break down, but can not solve it.