Interface IZipArchive
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to methods and properties to create and manage zip archives.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("55DF03AE-B4F8-4387-B8B5-6FB22B15DDAC")]
public interface IZipArchive
Methods
AddFile(string)
Compresses a file and adds it to the archive.
void AddFile(string inputFile)
Parameters
inputFilestring
CloseArchive()
Closes the archive.
void CloseArchive()
CreateArchive(string)
Creates a new archive.
void CreateArchive(string archiveName)
Parameters
archiveNamestring
Extract(string)
Extracts all items in the archive to the output directory.
void Extract(string outputDir)
Parameters
outputDirstring
ExtractFile(string, string)
Extracts a file from the archive to the output directory.
void ExtractFile(string file, string outputDir)
Parameters
GetFileNames()
Obtains the list of files in the archive.
IEnumBSTR GetFileNames()
Returns
OpenArchive(string)
Opens an existing archive.
void OpenArchive(string archiveName)
Parameters
archiveNamestring