ZipInfo Class
Object representing a zip file on disk; provides access to file-based operations on the zip file.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| CreateCompressionEngine() | Creates a compression engine that does the low-level work for this object. |
| GetFiles() | Gets information about the files contained in the archive. |
| GetFiles(searchPattern) | Gets information about the certain files contained in the archive file. |
Remarks
Section titled “Remarks”Generally, the methods on this class are much easier to use than the stream-based interfaces provided by the «see T:WixToolset.Dtf.Compression.Zip.ZipEngine» class.
WixToolset.Dtf.Compression.Zip.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8
CreateCompressionEngine() Method
Section titled “CreateCompressionEngine() Method”Creates a compression engine that does the low-level work for this object.
Declaration
Section titled “Declaration”protected WixToolset.Dtf.Compression.CompressionEngine CreateCompressionEngine()Return value
Section titled “Return value”WixToolset.Dtf.Compression.CompressionEngine A new «see T:WixToolset.Dtf.Compression.Zip.ZipEngine» instance.
Remarks
Section titled “Remarks”Each instance will be «see M:WixToolset.Dtf.Compression.CompressionEngine.Dispose» d immediately after use.
GetFiles() Method
Section titled “GetFiles() Method”Gets information about the files contained in the archive.
Declaration
Section titled “Declaration”public IList<WixToolset.Dtf.Compression.Zip.ZipFileInfo> GetFiles()Return value
Section titled “Return value”IList<WixToolset.Dtf.Compression.Zip.ZipFileInfo> A list of «see T:WixToolset.Dtf.Compression.Zip.ZipFileInfo» objects, each containing information about a file in the archive.
GetFiles(searchPattern) Method
Section titled “GetFiles(searchPattern) Method”Gets information about the certain files contained in the archive file.
Declaration
Section titled “Declaration”public IList<WixToolset.Dtf.Compression.Zip.ZipFileInfo> GetFiles( string searchPattern)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| searchPattern | string | The search string, such as “*.txt”. |
Return value
Section titled “Return value”IList<WixToolset.Dtf.Compression.Zip.ZipFileInfo> A list of «see T:WixToolset.Dtf.Compression.Zip.ZipFileInfo» objects, each containing information about a file in the archive.