Click here to Skip to main content
14,367,095 members
Rate this:
Please Sign up or sign in to vote.
See more:
I code to display a google map. Then I want to save the image into a local folder. By when I use
data = webClient.DownloadData(hfImageUrl.Value);

I got the error:
The remote server returned an error: (403) Forbidden.
How can this be fixed? Thanks.

What I have tried:

Download Google Map as byte but get Error Code 403

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100