2016年7月3日
摘要: var catalog = new AggregateCatalog(); catalog.Catalogs.Add(new DirectoryCatalog(".")); var container = new CompositionContainer(catalog); var catalog 阅读全文
posted @ 2016-07-03 20:49 武胜-阿伟 阅读(210) 评论(1) 推荐(0) 编辑
摘要: string zipfile = "c:\\a.zip"; //方法1 FileStream fs = new FileStream(zipfile, FileMode.Open); //把文件读取到字节数组 byte[] zipdata = new byte[fs.Length]; fs.Read 阅读全文
posted @ 2016-07-03 20:09 武胜-阿伟 阅读(1282) 评论(0) 推荐(0) 编辑