c# - "Cannot find central directory" error appears when extracting 7z file using SharpZipLib -


there no problem .zip file 7z.

 filestream fs = file.openread(archivefilenamein);             zf = new zipfile(fs); // encountered error 

the zipfile class handles .zip files, not .7z files.

in fact, sharpziplib not support .7z files @ all.

a "central directory" list of files present in zip-file , they're located, used speedily extract 1 file or file listing without reading whole file.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -