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.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
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
abstract OpenFileWriteStream : path : string * fileSize : int64 * lastWriteTime : DateTime -> Stream override OpenFileWriteStream : path : string * fileSize : int64 * lastWriteTime : DateTime -> Stream
Return Value
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.11.1.2318)