OpenFileWriteStream Method (path, fileSize, lastWriteTime)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
Stream
A stream where extracted file bytes are to be written.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)