OpenRead Method

DTF API

Copy image CopyHover image
Deployment Tools Foundation OpenRead Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveFileInfoOpenRead()()()()
Opens the archive file for reading without actually extracting the file to disk.
Declaration Syntax
C# Visual Basic Visual C++ F#
public Stream OpenRead()
Public Function OpenRead As Stream
public:
Stream^ OpenRead()
member OpenRead : unit -> Stream 
Return Value
Stream
A stream for reading directly from the packed file. Like any stream this should be closed/disposed as soon as it is no longer needed.

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