Deployment Tools Foundation
OpenRead Method (fileName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► OpenRead(String)
Opens a file inside the archive for reading without actually
extracting the file to disk.
![](collapse_all.gif)
![](collapse_all.gif)
- fileName (String)
- The name of the file in the archive. Also includes the internal path of the file, if any. File name matching is case-insensitive.
![](collapse_all.gif)
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.