下面是我用的C#的代码string zipPath = "C:\\test.zip";
string extractDir = "C:\\temp";System.IO.FileStream fs = new System.IO.FileStream(
                zipPath, System.IO.FileMode.Open,
                System.IO.FileAccess.Read, System.IO.FileShare.Read);
ICSharpCode.SharpZipLib.Zip.ZipInputStream zis =
                new ICSharpCode.SharpZipLib.Zip.ZipInputStream(fs);
ICSharpCode.SharpZipLib.Zip.ZipEntry ze;while ((ze = zis.GetNextEntry()) != null)       //<--------这句一直报错Unexpected EOF
{
//.....
}找不到文件的时候不应该是返回null么?
我现在的状况貌似是找不到就报错。。
而且test.zip的内容不止一个文件,我debug了一下发现我这里只认得出zip包里的第一个文件,然后就报错了,为什么阿TvT