protected bool SaveImage(string path) { string dllink = this.GetDownloadLink(); if (dllink == null) { return(false); //failed case. } Webpage wp = new Webpage(dllink); wp.SaveAsFile(path); return(true); }
public void WebpageTest3() { Webpages.Webpage wp = new Webpages.Webpage(url1); print(wp.GetFileName()); wp.SaveAsFile(this.desktop); }