Microsoft.Deployment.Compression Namespace

DTF API

Copy image CopyHover image
Deployment Tools Foundation Microsoft.Deployment.Compression Namespace
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression
Framework for archive packing and unpacking.
Types
All Types Classes Interfaces Enumerations
Icon Type Description
ArchiveException
Base exception class for compression operations. Compression libraries should derive subclass exceptions with more specific error information relevent to the file format.

ArchiveFileInfo
Abstract object representing a compressed file within an archive; provides operations for getting the file properties and unpacking the file.

ArchiveFileStreamContext
Provides a basic implementation of the archive pack and unpack stream context interfaces, based on a list of archive files, a default directory, and an optional mapping from internal to external file paths.

ArchiveInfo
Abstract object representing a compressed archive on disk; provides access to file-based operations on the archive.

ArchiveProgressEventArgs
Contains the data reported in an archive progress event.

ArchiveProgressType
The type of progress event.

BasicUnpackStreamContext
Stream context used to extract a single file from an archive into a memory stream.

CargoStream
Wraps a source stream and carries additional items that are disposed when the stream is closed.

CompressionEngine
Base class for an engine capable of packing and unpacking a particular compressed file format.

CompressionLevel
Specifies the compression level ranging from minimum compresion to maximum compression, or no compression at all.

DuplicateStream
Duplicates a source stream by maintaining a separate position.

IPackStreamContext
This interface provides the methods necessary for the CompressionEngine to open and close streams for archives and files. The implementor of this interface can use any kind of logic to determine what kind of streams to open and where.

IUnpackStreamContext
This interface provides the methods necessary for the CompressionEngine to open and close streams for archives and files. The implementor of this interface can use any kind of logic to determine what kind of streams to open and where

OffsetStream
Wraps a source stream and offsets all read/write/seek calls by a given value.