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.
Declaration Syntax
Parameters
- 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.
Return Value
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.