Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: Read Archive Comment

$
0
0
Ahoy, i did some research regarding this topic before, but got no helpfull information,
as i know, i can read the "per entry comments" in a zip file by using something like this:
string filename="C:\\path\\to\\archive.zip";
ZipArchive archive = (ZipArchive)ArchiveFactory.Open(filename);
foreach(ZipArchiveEntry entry in archive.Entries){
    Console.WriteLine("{0}: {1}",entry.FilePath,entry.Comment);
}
But until now i didn't find a way to get the "archive comment" of C:\path\to\archive.zip (or some actual existing zip file...).
So my question is: Is it possible to read the "archive comment" using SharpCompress and if yes how? Or if not, does someone here know another way?

T.i.A.

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>