开发者

Unzipping a file error?

开发者 https://www.devze.com 2023-01-29 00:15 出处:网络
I have used this code given by Marc Gravell in SO to unzip a file Unzipping a file error and got this error in this linewhile ((myEnt开发者_运维技巧ry = s.GetNextEntry()) != null)

I have used this code given by Marc Gravell in SO to unzip a file

Unzipping a file error

and got this error in this line while ((myEnt开发者_运维技巧ry = s.GetNextEntry()) != null)

ICSharpCode.SharpZipLib.Zip.ZipException: Wrong Local header signature: 0xAFBC7A37

Any Suggestion??


Given that hex codes 37 7A equate to the letters '7z', it looks like you've got a file in 7Zip format.

This answer may help you access it from .NET: How do I create 7-Zip archives with .NET?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号