小康frost

导航

2011年8月17日

C#压缩与解压库及函数(zip格式,需要参数:压缩文件夹)

摘要: 我使用的是SharpZipLib的压缩解压库,链接我就不提供了,下载引用就好了关于压缩,啥也不说,直接先来代码(我的代码基本你可以直接拿去用,我都写成静态函数不用实例化)压缩类public static class ZipClass { public static void ZipFileMain(string[] args) { string[] filenames = Directory.GetFiles(args[0]); Crc32 crc = new Crc32(); ZipOutpu... 阅读全文

posted @ 2011-08-17 11:48 FrostStudio 阅读(834) 评论(2) 推荐(0) 编辑