Deployment Tools Foundation
BasicUnpackStreamContext Class
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► BasicUnpackStreamContext
Stream context used to extract a single file from an archive into a memory stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class BasicUnpackStreamContext : IUnpackStreamContext
Public Class BasicUnpackStreamContext Implements IUnpackStreamContext
public ref class BasicUnpackStreamContext : IUnpackStreamContext
type BasicUnpackStreamContext = class interface IUnpackStreamContext end
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) | (Inherited from Object.) |
|
FileStream |
Gets the stream for the extracted file, or null if no file was extracted.
|
|
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode()()()() | Serves as a hash function for a particular type. (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.dll) Version: 3.0.0.0 (3.11.1.2318)