我想创建C#代码的zip文件夹 [英] i want to create zip folder to c# code

查看:99
本文介绍了我想创建C#代码的zip文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的文件夹名称是"backup".在这个文件夹中,我还有另外两个文件夹,分别是a1和a2.在a1中有一些图片,在a2中有一个html文件.
我想通过C#代码压缩备份"文件夹
请帮帮我.
谢谢你

i have a folder name is "backup". In this folder i have another two folder say a1 and a2. In a1 some images are there and in a2 one html file.
I want to zip "backup" folder through c# code
please help me.
thank u

推荐答案

^ ]


http://dotnetzip.codeplex.com/ [ ^ ]

http://www.icsharpcode.net/OpenSource/SharpZipLib/ [
http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx[^]


http://dotnetzip.codeplex.com/[^]

http://www.icsharpcode.net/OpenSource/SharpZipLib/[^]


也是CodeProject:

ZipStorer-用于在Zip中存储文件的纯C#类 [
There''s a very good article right here on the CodeProject too:

ZipStorer - A Pure C# Class to Store Files in Zip[^]

You would have dound it if you had used the Search box...


这篇关于我想创建C#代码的zip文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆