/// <summary> /// 下载网络资源 /// </summary> /// <param name="url">地址</param> /// <param name="path">保存下载文件的路径,例:"e:\\1.png"</param> private void DownLoadFiled(string url, string path) { WebClient webClient = new WebClient(); webClient.DownloadFile(url, path); }