OpenFileWriteStream Method (path, fileSize, lastWriteTime)

Microsoft Deployment Tools

Deployment Tools Foundation OpenFileWriteStream Method (path, fileSize, lastWriteTime)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionBasicUnpackStreamContextOpenFileWriteStream(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++
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
Parameters
path (String)
Path of the file within the archive.
fileSize (Int64)
The uncompressed size of the file to be extracted.
lastWriteTime (DateTime)
The last write time of the file.
Return Value
A stream where extracted file bytes are to be written.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)