Exemple #1
0
        public static byte[] getZipFile()
        {
            ConsoleHelper.WriteQuestionLine("Please enter the path directory package:");
            string path = Console.ReadLine();

            byte[] zipFile = ManageFileZip.createZipFile(path, false);
            return(zipFile);
        }
Exemple #2
0
        public static byte[] getZipFile(string directoryTarget)
        {
            ConsoleHelper.WriteQuestionLine("Please enter the path directory package:");
            ConsoleHelper.WriteDocLine(directoryTarget);
            string path = directoryTarget;

            byte[] zipFile = ManageFileZip.createZipFile(path, true);
            return(zipFile);
        }