C# Class ModernSteward.ZipManager

Show file Open project: ModernSteward/ModernSteward

Public Methods

Method Description
AddFileToZip ( string zipFilename, string fileToAdd ) : void
Extract ( string sourceFile, string destinationPath ) : int
GetMD5FromAZip ( string filePath ) : string

Private Methods

Method Description
CopyStream ( System inputStream, System outputStream ) : void
DecompressAndWriteFile ( string destination, ZipInputStream source ) : void

Method Details

AddFileToZip() public static method

public static AddFileToZip ( string zipFilename, string fileToAdd ) : void
zipFilename string
fileToAdd string
return void

Extract() public static method

public static Extract ( string sourceFile, string destinationPath ) : int
sourceFile string
destinationPath string
return int

GetMD5FromAZip() public static method

public static GetMD5FromAZip ( string filePath ) : string
filePath string
return string