Class ZipArchiveClass
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
[Guid("3C1841DB-3625-464F-B216-41811A7E8A6C")]
[ClassInterface(ClassInterfaceType.None)]
public class ZipArchiveClass : ZipArchive, IZipArchive
- Inheritance
-
ZipArchiveClass
- Implements
- Inherited Members
Constructors
ZipArchiveClass()
public ZipArchiveClass()
Explicit Interface Implementations
AddFile(string)
Compresses a file and adds it to the archive.
virtual void AddFile(string inputFile)
Parameters
inputFilestring
CloseArchive()
Closes the archive.
virtual void CloseArchive()
CreateArchive(string)
Creates a new archive.
virtual void CreateArchive(string archiveName)
Parameters
archiveNamestring
Extract(string)
Extracts all items in the archive to the output directory.
virtual void Extract(string outputDir)
Parameters
outputDirstring
ExtractFile(string, string)
Extracts a file from the archive to the output directory.
virtual void ExtractFile(string file, string outputDir)
Parameters
GetFileNames()
Obtains the list of files in the archive.
virtual IEnumBSTR GetFileNames()
Returns
OpenArchive(string)
Opens an existing archive.
virtual void OpenArchive(string archiveName)
Parameters
archiveNamestring