C# Class NArrange.Core.ZipUtilities

Utility methods for zipping and unzipping files.
Mostrar archivo Open project: MarcStan/NArrange Class Usage Examples

Public Methods

Method Description
Unzip ( string zipFileName, string targetDirectory ) : void

Unzips the specified zip file to the destination directory.

Zip ( string sourceDirectory, string zipFileName ) : void

Writes the specified directory to a new zip file.

Method Details

Unzip() public static method

Unzips the specified zip file to the destination directory.
public static Unzip ( string zipFileName, string targetDirectory ) : void
zipFileName string Zip file name.
targetDirectory string Target extraction directory.
return void

Zip() public static method

Writes the specified directory to a new zip file.
public static Zip ( string sourceDirectory, string zipFileName ) : void
sourceDirectory string Directory with files to add.
zipFileName string Output file name.
return void