MobileForms Toolkit Documentation

ZipArchive Methods

The methods of the ZipArchive class are listed below. For a complete list of ZipArchive class members, see the ZipArchive Members topic.

Public Static Methods

Create Creates or overwrites the specified ZipArchive.
Open Opens a ZipArchive on the specified path.

Public Instance Methods

AddOverloaded. Add file or directory to the archive without password.
CleanTemp Clean up temp directory.
Close Closes the archive and releases any resources associated with the current archive.
CreateDirectory Creates all directories and subdirectories as specified by path.
DeleteOverloaded. Deletes the specified directory and, if indicated, any subdirectories in the directory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exist Determines whether the given path refers to an existing directory or file in archive.
ExtractOverloaded. Extract file or directory to destination path.
GetAllEntries Returns the names of all files and subdirectories in the archive.
GetAttributes Gets the ZipFileAttributes of the file on the path.
GetCrc Gets the CRC of the file on the path.
GetDirectoriesOverloaded. Gets the names of subdirectories in the specified directory.
GetDirectoryRoot Returns the root path.
GetEntryName Return the name of directory or file.
GetEntryParent Return the name of parent directory of directory or file.
GetFilesOverloaded. Returns the names of files in the specified directory.
GetFileSystemEntriesOverloaded. Returns the names of all files and subdirectories in the specified directory.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetModificationTime Gets the modification date and time of a directory or a file.
GetType (inherited from Object)Gets the Type of the current instance.
Move Moves a file or a directory and its contents to a new location.
OpenFileOverloaded. Opens a ZipStream on the specified path.
ToString (inherited from Object)Returns a String that represents the current Object.
Update Update changes made to the archive.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
Initialize Initialize the ZipArchive from specified stream.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ZipArchive Class | Resco.IO.Zip Namespace