BasicUnpackStreamContext Class

Microsoft Deployment Tools

Deployment Tools Foundation BasicUnpackStreamContext Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionBasicUnpackStreamContext
Stream context used to extract a single file from an archive into a memory stream.
Declaration Syntax
C# Visual Basic Visual C++
public class BasicUnpackStreamContext : IUnpackStreamContext
Public Class BasicUnpackStreamContext _
	Implements IUnpackStreamContext
public ref class BasicUnpackStreamContext : IUnpackStreamContext
Members
All Members Constructors Methods Properties



Icon Member Description
BasicUnpackStreamContext(Stream)
Creates a new BasicExtractStreamContext that reads from the specified archive stream.

CloseArchiveReadStream(Int32, String, Stream)
Does *not* close the stream. The archive stream should be managed by the code that invokes the archive extraction.

CloseFileWriteStream(String, Stream, FileAttributes, DateTime)
Does *not* close the file stream. The file stream is saved in memory so it can be read later.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FileStream
Gets the stream for the extracted file, or null if no file was extracted.

Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OpenArchiveReadStream(Int32, String, CompressionEngine)
Opens the archive stream for reading. Returns a DuplicateStream instance, so the stream may be virtually opened multiple times.

OpenFileWriteStream(String, Int64, DateTime)
Opens a stream for writing extracted file bytes. The returned stream is a MemoryStream instance, so the file is extracted straight into memory.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
BasicUnpackStreamContext

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)