IPackStreamContext Interface

DTF API

Copy image CopyHover image
Deployment Tools Foundation IPackStreamContext Interface
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionIPackStreamContext
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.
Declaration Syntax
C# Visual Basic Visual C++ F#
public interface IPackStreamContext
Public Interface IPackStreamContext
public interface class IPackStreamContext
type IPackStreamContext =  interface end
Members
All Members Methods



Icon Member Description
CloseArchiveWriteStream(Int32, String, Stream)
Closes a stream where an archive package was written.

CloseFileReadStream(String, Stream)
Closes a stream that has been used to read a file.

GetArchiveName(Int32)
Gets the name of the archive with a specified number.

GetOption(String, array<Object>[]()[][])
Gets extended parameter information specific to the compression format being used.

OpenArchiveWriteStream(Int32, String, Boolean, CompressionEngine)
Opens a stream for writing an archive package.

OpenFileReadStream(String, FileAttributes%, DateTime%)
Opens a stream to read a file that is to be included in an archive.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)