05 2017 档案

摘要:1、读取文件,并转换为字节流 FileStream fs = new FileStream(filename,FileMode.Open,FileAccess.Read); byte[] infbytes = new byte[(int)fs.Length]; fs.Read(infbytes, 0, infbytes.Length); fs.Close(); return infbytes; ... 阅读全文
posted @ 2017-05-25 16:05 渴死的鱼丶 阅读(6298) 评论(0) 推荐(0)
摘要:public class RemoteDownload { public static void DownLoad(string addressUrl,string localName) { //下载文件 System.NET.WebClient myWebClient = new System.Net.We... 阅读全文
posted @ 2017-05-18 19:01 渴死的鱼丶 阅读(12957) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-05-11 18:04 渴死的鱼丶 阅读(1189) 评论(0) 推荐(0)