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.
Declaration Syntax
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 )
Parameters
Return Value
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.
Remarks
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)