I'm having an image url and I want to download it to my local folder. I'm doing using webclient class to do it.Here is my code
using (WebClient client = new WebClient())
{
client.DownloadFile(urlOfImages, pathForImagesToSave);
}
But I'm getting an exception
An exception occurred during a WebClient request.
And the Url is Url
Aucun commentaire:
Enregistrer un commentaire