如何创建zip文件 [英] how to create zip file
本文介绍了如何创建zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
我有两个Xml文件(模式和数据),并希望使用C#在zip文件中 压缩 和 解压缩 Application.StartupPath + @"\Temp\"
目录中的Windows应用程序.
我该怎么做?
请通过一个简单的C#Windows应用程序向我展示.
非常感谢.
Hi everyone!
I have two Xml file(schema and data) and want compress and decompress them in a zip file with C# windows application in Application.StartupPath + @"\Temp\"
directory.
how i can doing this?
Please show me with a simple C# windows application.
Thank you very much.
推荐答案
通过Google轻松找到它非常容易.
甚至还有一个免费的图书馆,名字在上面说明了一切!
请(至少尝试)下次进行搜索.
http://dotnetzip.codeplex.com/ [ ^ ]
It''s damn easy to find this via Google.
There''s even a free library where the names says it all!
Please (at least try to) Search for yourself next time.
http://dotnetzip.codeplex.com/[^]
这篇关于如何创建zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文