public static void DownloadImage(string imageUrl, string fileName)
{
if (imageUrl == null)
throw new ArgumentNullException("imageUrl");
if (fileName == null)
throw new ArgumentNullException("fileName");
using (var image = GetImageFromUrl(imageUrl))
{
image.Save(fileName);
}
}