C#.Net 3.5解压缩zip文件没有第三方 [英] C# .Net 3.5 Unzip zip file no 3rd party
问题描述
我正在.NET 3.5中编写Winform应用程序,我需要解压缩.rar或.zip文件。
我发现了很多东西,但没有找到第3方。
我无法更改为.NET 4或.NET 4.5。
感谢您的帮助。
Horbert
.NET框架不支持.RAR文件,并且不支持< a href = http://msdn.microsoft.com/zh-cn/library/system.io.compression.zipfile.aspx rel = nofollow>压缩文件,直到.NET 4.5 。
如果要在.NET 3.5中支持.ZIP(或.RAR),则需要第三方解决方案。例如, DotNetZip 库支持.NET 3.5,并且具有处理.ZIP文件的全部功能。 / p>
有些支持RAR的商业产品,例如 Chilkat RAR 。
I am writing a Winform application in .NET 3.5, and I need unzip a .rar or .zip file.
I found many things, but I didn't found none 3rd party.
I couldn't change to .NET 4 or .NET 4.5.
Thank you for your help. Horbert
The .NET framework doesn't support .RAR files, and didn't have support for Zip files until .NET 4.5.
If you want to support .ZIP (or .RAR) in .NET 3.5, you'll need a third party solution. The DotNetZip library, for example, supports .NET 3.5, and is fully functional for handling of .ZIP files.
There are commercial products which support RAR, such as Chilkat RAR.
这篇关于C#.Net 3.5解压缩zip文件没有第三方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!