Interface IZipArchiveEx
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
Provides access to methods and properties to create and manage 7-zip archives.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F088433D-0167-4866-A846-55CAB2FB76B0")]
public interface IZipArchiveEx : IZipArchive
Methods
AddFile(string)
void AddFile(string inputFile)
Parameters
inputFilestring
AddFileEx(string, string)
Compresses a file and adds it to the archive preserving the sub-folder off the root folder.
void AddFileEx(string inputFile, string rootFolder)
Parameters
AddFolder(string, bool)
Compress a folder and add it to the archive.
void AddFolder(string inputFolder, bool recursive)
Parameters
CloseArchive()
void CloseArchive()
CreateArchive(string)
void CreateArchive(string archiveName)
Parameters
archiveNamestring
Extract(string)
void Extract(string outputDir)
Parameters
outputDirstring
ExtractFile(string, string)
void ExtractFile(string file, string outputDir)
Parameters
GetFileNames()
IEnumBSTR GetFileNames()
Returns
OpenArchive(string)
void OpenArchive(string archiveName)
Parameters
archiveNamestring