public static string get_FilesList(this _7_Zip _7Zip, string file) { "[7_Zip] Getting file list for: {0}".info(file); var unzipArguments = "l \"{0}\" ".format(file); return(_7Zip.execute_withParams(unzipArguments)); }
public static string unzip(this _7_Zip _7Zip, string file, string targetDir) { "[7_Zip] Unzipping file '{0}' into folder '{1}'".info(file, targetDir); var unzipArguments = "x -o\"{0}\" \"{1}\" ".format(targetDir, file); return(_7Zip.execute_withParams(unzipArguments)); }