FAES/Packaging/Compressors/LegacyZIP.cs
/// <summary>
/// Decompress an encrypted FAES File.
/// </summary>
/// <param name="encryptedFile">Encrypted FAES File</param>
/// <param name="overridePath">Override the read path</param>
/// <returns>Path of the encrypted, Decompressed file</returns>
Decompress an encrypted FAES File.
Decompress an encrypted FAES File .
public string DecompressFAESFile(FAES_File encryptedFile, ref decimal percentComplete, string overridePath = "")
        {
            Logging.Log("LGYZIP does not support percent complete reporting!", Severity.WARN);
            string path;
            path = !String.IsNullOrWhiteSpace(overridePath) ? overridePath : Path.ChangeExtension(encryptedFile.GetPath(), FileAES_Utilities.ExtentionUFAES);
            percentComplete = 99;
            ZipFile.ExtractToDirectory(path, Directory.GetParent(path)?.FullName);
            return path;
        }
public string DecompressFAESFile ( FAES_File encryptedFile , ref decimal percentComplete , string overridePath = " " ) { Logging . Log ( " " , Severity . WARN ) ; string path ; path = ! String . IsNullOrWhiteSpace ( overridePath ) ? overridePath : Path . ChangeExtension ( encryptedFile . GetPath ( ) , FileAES_Utilities . ExtentionUFAES ) ; percentComplete = 99 ; ZipFile . ExtractToDirectory ( path , Directory . GetParent ( path ) ? . FullName ) ; return path ; }
Decompress an encrypted FAES File.
Decompress an encrypted FAES File .
Path of the encrypted, Decompressed file
Path of the encrypted Decompressed file
encryptedFile
FAES_File
Encrypted FAES File
Encrypted FAES File
decimal
ref
overridePath
string
Override the read path
Override the read path