Does Google not allow webclients?

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-04-13T19:16:09Z Indexed on 2010/04/13 19:22 UTC
Read the original article Hit count: 304

Filed under:
|
|

I have the following:

string html_string = "http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=pharma";
string html;
html = new WebClient().DownloadString(html_string);

and when I get the length of HTML, it's returning only the first 28435 characters.

Is it possible that Google is not allowing webclient access?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET