Deployment Tools Foundation
CloseFileReadStream Method (path, stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► IPackStreamContext ► CloseFileReadStream(String, Stream)
Closes a stream that has been used to read a file.
Declaration Syntax
Parameters
- path (String)
- The path of the file within the archive; the same as the path provided when the stream was opened.
- stream (Stream)
- A stream that was previously returned by OpenFileReadStream(String, FileAttributes%, DateTime%) and is now ready to be closed.