foreach (DataRow _drDevice in dtDeviceLoogos.Rows) { using (WebClient Client = new WebClient()) { Client.DownloadFile(_drDevice["LogoPath"].ToString(), "D:\\Logos\\_drDevice[""].ToString()); } }
DownLoadFile
WebClient* Client = new WebClient();// or do it like in the link.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)