Unzipping a file error?
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?
精彩评论