 | ICSharpWorker class |
Function: Routines for packing and unpacking ZIP archives.
Uses the ICSharpCode.SharpZipLib.dll.
Inheritance hierarchy Namespace: NetEti.FileTools.ZipAssembly: NetEti.ZipAccess (in NetEti.ZipAccess.dll) Version: 1.0.0+90532d84a01ea1dad6525ec1859a76670aba8306
Syntaxpublic class ICSharpWorker
Public Class ICSharpWorker
public ref class ICSharpWorker
type ICSharpWorker = class end
The ICSharpWorker Type exposes the following members.
Constructors
Methods| | Name | Description of the |
|---|
 | Abortion |
Must be called in the external EventHandler,
if the current process is to be cancelled.
|
 | GetZipEntryList |
Returns the table of contents of the zip archive as a string list.
|
 | IcsUnzipFirstDumpToFile(String) |
Calls UnzipFirstDumpToFile(zipPathAndFile, "", 0, null).
|
 | IcsUnzipFirstDumpToFile(String, String, Int32) |
Unpacks the first file from the archive (no subfolders)
and returns information about it. If maxBytes > is 0,
only maxBytes are unpacked to determine the information.
The main purpose of this routine is to get you started quickly.
from packed dumps in order to obtain information,
without having to unpack the entire dump (usually > 3GB).
|
 | IsZip |
Checks whether a file is a zip archive with at least one entry.
|
 | UnzipAllArchives |
Unpacks all ZIP archives from the zipsFolder directory into a
New subdirectory with the name of the archive in the outputFolder.
|
 | UnZipArchive |
Unpacks everything from the archive including subdirectory structures.
|
 | UnZipArchiveFiles |
Unpacks everything from the archive including subdirectory structures.
|
 | ZipDirectory |
Packs everything from the inputFolderPath directory into the archive
zipPathAndFile incl. subdirectory structures.
|
 | ZipFiles |
Packs the files from "filePathes" into an archive "zipPathAndFile".
Optionally, a password can be entered.
|
Back to the top
Events
Remarks
Microsoft's own routines put on their ears for archives > 4GIG and cannot recognise passwords!
Author: Peter Bromberg (http://www.eggheadcafe.com/tutorials/aspnet/9ce6c242-c14c-4969-9251-af95e4cf320f/zip--unzip-folders-and-f.aspx)
Many thanks for that.
tweaked by: Erik Nagel, NetEti
24.02.2023 Erik Nagel: created
See also