Is there c# based API for 7zip (7z) that supports the ability to read its header to retrieve the CRC information for each file in the compressed archive? Everything I have looked at requires you to decompress the file. I am writing an application that compares the CRCs of the files in a compressed folder with a separate list.
I currently am using DotNetZip for zip files and it works great. Unfortunately it has no .7z support.
EDIT: Exception generated when calling ZipFile.Read()
{Ionic.Zip.ZipException: Cannot read that as a ZipFile ---> Ionic.Zip.BadReadException: Bad signature (0xAFBC7A37) at position 0x00000000
at Ionic.Zip.ZipEntry.ReadHeader(ZipEntry ze, Encoding defaultEncoding)
at Ionic.Zip.ZipEntry.ReadEntry(ZipContainer zc, Boolean first)
at Ionic.Zip.ZipFile.ReadIntoInstance_Orig(ZipFile zf)
at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
--- End of inner exception stack trace ---
at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
at Ionic.Zip.ZipFile.Read(String fileName)
...