Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 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
C#
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
Posted
Comments

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900