摘要:
文章出自http://dengzebo.blog.163.com/blog/static/1886740620092112561255/WinForm判断远程Web服务器文件是否存在 private bool GetServerFileExists(string URL) { try { System.Net.WebRequest s = System.Net.WebRequest.Create(URL); s.Timeout = 6000; System.Net.WebResponse a = s.GetResponse(); return true; } catch { return fa 阅读全文