Deployment Tools Foundation
CloseFileWriteStream Method (path, stream, attributes, lastWriteTime)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► BasicUnpackStreamContext ► CloseFileWriteStream(String, Stream, FileAttributes, DateTime)
Does *not* close the file stream. The file stream is saved in memory so it can
be read later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void CloseFileWriteStream( string path, Stream stream, FileAttributes attributes, DateTime lastWriteTime )
Public Sub CloseFileWriteStream ( _ path As String, _ stream As Stream, _ attributes As FileAttributes, _ lastWriteTime As DateTime _ )
public: virtual void CloseFileWriteStream( String^ path, Stream^ stream, FileAttributes attributes, DateTime lastWriteTime ) sealed
Parameters
- path (String)
- Path of the file within the archive.
- stream (Stream)
- The file stream to be closed.
- attributes (FileAttributes)
- The attributes of the extracted file.
- lastWriteTime (DateTime)
- The last write time of the file.