Learn how to pull text and metadata from documents stored inside ZIP and RAR archives directly in memory using GroupDocs.Parser for .NET.
- GroupDocs.Parser for .NET (see the documentation)
- Temporary license (obtain a free temporary license from the product page)
- Supported archive formats: ZIP, RAR, and any document type that GroupDocs.Parser can read
- In‑memory processing of archives without extracting files to disk
- Recursive handling of nested ZIP/RAR archives
- Extraction of document text and metadata
- Graceful handling of unsupported document formats
See the following examples:
ExtractTextFromZipArchive.csExtractDataFromAttachments.cs
- Install GroupDocs.Parser via NuGet.
- Add the two
.csfiles to your project. - Provide the path to the archive you want to process.
- Call the
ExtractTextFromZipArchivemethod. - Review the extracted text and metadata returned by the helper methods.
These snippets show how to efficiently work with compressed documents using GroupDocs.Parser for .NET. For more details, explore the full documentation and try the library with a temporary license.