![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
OpenFileWriteStream Method (path, fileSize, lastWriteTime)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► IUnpackStreamContext ► OpenFileWriteStream(String, Int64, DateTime)
Opens a stream for writing extracted file bytes.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
Stream OpenFileWriteStream( string path, long fileSize, DateTime lastWriteTime )
Function OpenFileWriteStream ( path As String, fileSize As Long, lastWriteTime As DateTime ) As Stream
Stream^ OpenFileWriteStream( String^ path, long long fileSize, DateTime lastWriteTime )
![](collapse_all.gif)
![](collapse_all.gif)
Stream
A stream where extracted file bytes are to be written, or null to skip extraction of the file and continue to the next file.
A stream where extracted file bytes are to be written, or null to skip extraction of the file and continue to the next file.
![](collapse_all.gif)
The implementor may use the path, size and date information to dynamically
decide whether or not the file should be extracted.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)