

Deployment Tools Foundation
OpenFileWriteStream Method (path, fileSize, lastWriteTime)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► BasicUnpackStreamContext ► 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.

C# | Visual Basic | Visual C++ |
public Stream OpenFileWriteStream( string path, long fileSize, DateTime lastWriteTime )
Public Function OpenFileWriteStream ( path As String, fileSize As Long, lastWriteTime As DateTime ) As Stream
public: virtual Stream^ OpenFileWriteStream( String^ path, long long fileSize, DateTime lastWriteTime ) sealed

Stream
A stream where extracted file bytes are to be written.
A stream where extracted file bytes are to be written.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)