ZipFile.CreateFromDirectory(@"D:\CSkin.dll", @"D:\压缩后的CSkin.dll.zip");
ZipFile.ExtractToDirectory(@"D:\压缩后的CSkin.dll.zip", @"D:\CSkin.dll");
using System.IO.Compression;
ZipFile.CreateFromDirectory(@"D:\CSkin.dll", @"D:\压缩后的CSkin.dll.zip");
ZipFile.ExtractToDirectory(@"D:\压缩后的CSkin.dll.zip", @"D:\CSkin.dll");
using System.IO.Compression;
转载于:https://www.cnblogs.com/NETSBW/p/7878783.html