gpt4 book ai didi

c# - 提取 ZipFile

转载 作者:行者123 更新时间:2023-11-30 19:08:02 27 4
gpt4 key购买 nike

如何在 C# 中提取 ZipFile?(ZipFile 是包含文件和目录)

最佳答案

为此使用工具。类似于 SharpZip .据我所知 - .NET 不支持开箱即用的 ZIP 文件。

来自 here =>

There are 2 problems with this class.
- It does not handle ZIP files.
- It is dysfunctional, can actually inflate data in "compression".
There's something wrong with the logic. It's a known problem but as yet unfixed.

所以 - 如果您需要使用 ZIP 文件,gzipstream 将无济于事。否则 - 它应该可以正常工作。

关于c# - 提取 ZipFile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2317028/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com