using System.IO.Compression;
ZipFile.CreateFromDirectory(@"D:\data", @"D:\data.zip");
ZipFile.ExtractToDirectory(@"D:\data.zip", @"D:\data\unzip");
ZipFile.CreateFromDirectory(@"D:\data", @"D:\data.zip");
ZipFile.ExtractToDirectory(@"D:\data.zip", @"D:\data\unzip");
No comments:
Post a Comment