Working with Z Archives in C#

Overview

Compress is a Unix shell utility producing an archive with .Z extension. Aspose.ZIP for .NET API lets work with creating and managing Z archives in your applications without the need of any other 3rd party applications. Aspose.ZIP API provides  ZArchive class to work with such archives. This class provides basic methods to perform operations on archives.

This utility iplements LZC algorithm which is modification of LZW algorithm.

Compress A File

The following code example shows how to compress a file using ZArchive instance.

Open Z Archive

The following code example shows how to open a Z archive.

Save to Stream

The following code example shows how to save to stream.

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.