C# Класс ARCed.Helpers.Compressor

Static class used for compressing/extracting files and folders using 7zip.
Показать файл Открыть проект

Открытые методы

Метод Описание
CompressDirectory ( string inDir, string outFile, bool notify = false ) : void

Compresses a directory into a single archive

ExtractArchive ( string inFile, string outDir ) : void

Extracts and archive to the given directory

Приватные методы

Метод Описание
ExtractorExtractionFinished ( object sender, EventArgs e ) : void

Описание методов

CompressDirectory() публичный статический Метод

Compresses a directory into a single archive
public static CompressDirectory ( string inDir, string outFile, bool notify = false ) : void
inDir string The path to the directory to compress
outFile string The archive name to create
notify bool Flag to notify user when finished
Результат void

ExtractArchive() публичный статический Метод

Extracts and archive to the given directory
public static ExtractArchive ( string inFile, string outDir ) : void
inFile string Path to the archive to extract
outDir string The path to the target directory for extraction
Результат void