2017年8月2日

C#利用WebClient 两种方式下载文件(转)

摘要: WebClient client = new WebClient(); 第一种 string URLAddress = @"http://files.cnblogs.com/x4646/tree.zip"; string receivePath=@"C:\"; client.DownloadFile(URLAddress, receivePath + System.IO.Path.Get... 阅读全文

posted @ 2017-08-02 18:29 kimi1908 阅读(378) 评论(0) 推荐(0) 编辑

c# 在windows服务中 使用定时器

摘要: 让windows服务每隔设定的时间执行一次 阅读全文

posted @ 2017-08-02 15:35 kimi1908 阅读(810) 评论(0) 推荐(0) 编辑

Windows服务安装异常:System.Security.SecurityException: 未找到源,但未能搜索某些或全部事件日志。不可 访问的日志: Security

摘要: Install.bat中配置如下 阅读全文

posted @ 2017-08-02 15:31 kimi1908 阅读(473) 评论(0) 推荐(0) 编辑

导航