Xceed .NET Libraries Documentation
Zip and streaming capabilities
Welcome to Xceed .NET, .NET Standard and Xamarin Libraries! > Basic Concepts > Zip and streaming capabilities

The Xceed.Zip namespace implements the QuickZip class which exposes static methods that allow quick and easy zip file operations in one line of code. It also provides classes that implement methods for flexible handling of zip files as well as files and folders contained within zip files. 

The Xceed Zip class library regroups the ZippedFolder class which represents a zipped folder and the ZipArchive class which represents the root of a zip file. Both these classes derive from the AbstractFolder class. It also regroups the ZippedFile class, which derives from the AbstractFile class and represents a file contained within a zip file. 

For more information in regards to the abstract classes from which the ZippedFolder, ZipArchive and ZippedFile classes derive, please refer to the Introduction to the Xceed.FileSystem namespace

The following diagram illustrates the class hierarchy of the Xceed.Zip namespace in relation to the Xceed.FileSystem namespace: 

QuickZip class

The QuickZip class exposes static methods that allow quick and easy zip file operations for developers that do not wish to use the class library. It does not, however, provide as much flexibility as the class library. In cases where more complex zip file operations are required or where events are desired, developers will need to use the other classes defined within the Xceed.Zip namespace rather than the QuickZip class.

ZippedFolder class

The ZippedFolder class represents a folder contained within a zip file. This class derives and inherits methods from the AbstractFolder class of the Xceed.FileSystem namespace.

ZipArchive class

The ZipArchive class represents the root ("\") of a zip file. This class derives and inherits methods from the ZippedFolder class.

ZippedFile class

The ZippedFile class represents a file contained within a zip file. This class derives and inherits methods from the AbstractFile class of the Xceed.FileSystem namespace.