ZipStorage Class |
Namespace: DigitalRune.Storages
The ZipStorage type exposes the following members.
Name | Description | |
---|---|---|
ZipStorage |
Initializes a new instance of the ZipStorage class.
|
Name | Description | |
---|---|---|
Dispose |
Releases all resources used by an instance of the Storage class.
(Inherited from Storage.) | |
Dispose(Boolean) |
Releases the unmanaged resources used by an instance of the ZipStorage class
and optionally releases the managed resources.
(Overrides StorageDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRealPath |
Gets the real path and name of the specified file.
(Overrides StorageGetRealPath(String).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenFile |
Opens the specified file for reading.
(Overrides StorageOpenFile(String).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DirectorySeparator |
Gets the directory separator character used natively by this storage.
(Overrides StorageDirectorySeparator.) | |
FileName |
Gets the file name (incl. path) of the ZIP archive.
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed of.
(Inherited from Storage.) | |
PasswordCallback |
Gets or sets the callback method that provides the password for encrypted ZIP file entries.
| |
Storage |
Gets the storage that provides the ZIP archive.
|
The ZipStorage does not directly read the ZIP archive from the OS file system. Instead, it opens the ZIP archive from another storage.
The PasswordCallback needs to be set to read encrypted ZIP archives. The ZipStorage supports ZipCrypto (all platforms) and AES-256 encryption (Windows only).
Thread-Safety: The ZipStorage is thread-safe. ZIP entries can be read simultaneously from one or multiple threads.