Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET How can I unzip a zip file using the CompressedStream class?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20583 |

    The CompressedStream class can only handle Streams and not zip files. If you want to read the contents of a file contained within a zip file, then you will need to create a ZippedFile object around the file in question and use the OpenRead method to read the contents. You can then write the read contents to the text file.

    Imported from legacy forums. Posted by Xceed admin (had 1691 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.