I think you are referring some old resource for fetching images using google image search, time to time google search parameters are changing. I have done below simple test with minimum parameters and able to receive page content.
string url = string.Format("https://www.google.com/search?site=imghp&tbm=isch&q={0}", "codeproject");
HttpWebRequest request =
(HttpWebRequest)WebRequest.Create(url);
string resultPage = string.Empty;
using (HttpWebResponse httpWebResponse =
(HttpWebResponse)request.GetResponse())
{
using (Stream responseStream =
httpWebResponse.GetResponseStream())
{
using (StreamReader reader =
new StreamReader(responseStream))
{
resultPage = reader.ReadToEnd();
}
}
}