C#中的压缩/解压缩工具 [英] Compression/Decompression tool in C#
本文介绍了C#中的压缩/解压缩工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我需要一个模拟winzip确切功能的类.
我找到了很多课程可以做到这一点.但是,当给定目录时,他们遍历此源目录并压缩该目录的每个子文件夹的文件,而不是全部压缩.
我想要一个使我能够对文件夹(而不是其文件)进行压缩和解压缩的类,类似于winzip或winrar的操作方式.
谢谢
Hello
I''m need a class that simulates the exact functionalities of winzip.
I''ve found a number of classes to do so; however, when given a directory, they traverse this source directory and zip the files of every subfolder of this directory, rather than zipping it all.
I want a class that enables me to zip and unzip folders(Not their files) similar to the way winzip or winrar operates.
Thank you
推荐答案
这是一个非常好的课程:
ZipStorer-用于在Zip中存储文件的纯C#类 [
This is a very good class:
ZipStorer - A Pure C# Class to Store Files in Zip[^]
这篇关于C#中的压缩/解压缩工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文