Beispiel #1
0
 private static void Finalize(string inputFilePath, string outputFilePath)
 {
     if (Globals.Overwrite)
     {
         FileHandling.OverwriteFile(inputFilePath, outputFilePath);
     }
     else if (Globals.ObfuscateFileNames)
     {
         RestoreFileName.RemoveAppendedFileName(inputFilePath);
     }
     FileHandling.MakeFileReadOnly(outputFilePath);
 }
Beispiel #2
0
 private static void Finalize(string inputFilePath, string outputFilePath, int fileNameLength)
 {
     RestoreFileName.RenameFile(outputFilePath, fileNameLength);
     FileHandling.DeleteFile(inputFilePath);
 }