using (WebClient myWebClient = new WebClient()) { try { myWebClient.DownloadFile(new Uri(href), System.IO.Path.Combine(globePath, System.IO.Path.GetRandomFileName() + System.IO.Path.GetExtension(href))); } catch (Exception ex) { } }
时间: 2024-12-29 06:50:44