2010年12月7日

SevenZipSharp 利用7z来压缩文件

摘要: 1. SevenZipSharp的使用。注意:将7z.dll ,servenzipsharp.dll放入程序文件夹下。引入servenzipsharp即可。using SevenZip;using System.Windows.Forms;using System; class C7Z { public static void Compress7Z(string filePath, string outPath) { SevenZipCompressor.SetLibraryPath(String.Format(@"{0}\7z.dll", Application.StartupPath) 阅读全文

posted @ 2010-12-07 11:01 zhzenghui 阅读(2049) 评论(3) 推荐(0) 编辑

导航