using System; using System.Net; namespace ZJ_BYD.Untils { public class FileHelper { ///          /// 下载文件         ///          /// 下载文件地址 /// 保存路径         public static void DownloadFile(string url,string savePath) { WebClient mywebclient = new WebClient(); try { mywebclient.DownloadFile(url,savePath); } catch (Exception ex) { } } } }