

Deployment Tools Foundation
OpenArchiveReadStream Method (archiveNumber, archiveName, compressionEngine)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► BasicUnpackStreamContext ► OpenArchiveReadStream(Int32, String, CompressionEngine)
Opens the archive stream for reading. Returns a DuplicateStream instance,
so the stream may be virtually opened multiple times.

C# | Visual Basic | Visual C++ |
public Stream OpenArchiveReadStream( int archiveNumber, string archiveName, CompressionEngine compressionEngine )
Public Function OpenArchiveReadStream ( archiveNumber As Integer, archiveName As String, compressionEngine As CompressionEngine ) As Stream
public: virtual Stream^ OpenArchiveReadStream( int archiveNumber, String^ archiveName, CompressionEngine^ compressionEngine ) sealed

- archiveNumber (Int32)
- The archive number to open (ignored; 0 is assumed).
- archiveName (String)
- The name of the archive being opened.
- compressionEngine (CompressionEngine)
- Instance of the compression engine doing the operations.

Stream
A stream from which archive bytes are read.
A stream from which archive bytes are read.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)