How to retrieve comments from individual entries in an archive?

I see that the AddFile() method allows for attaching a comment to an archive entry, but I see no way to later retrieve those comments. I have zip files where some file entries have comments and I want to show those comments. How do I get those strings? Dave B.
asked 8/5/2018 8:41:53 PM
add a comment

1 Answers

You can access comments in `Comment` property of the `ArchiveItem` as shown below: [][1] You will see items' comments are written to console in line: `Console.WriteLine(" Comment: " archiveFile.Comment);` [1]:
answered 8/7/2018 1:35:35 AM
  Thank you. Missed that somehow. secondmouse 8/8/2018 8:08:07 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged zip or ask your own question.