Beispiel #1
0
        private string ZipEntryFileName(string fileName)
        {
            if (!fileName.StartsWith(BeginingOfPath))
            {
                return(SolZipHelper.CleanedUpFileName(fileName));
            }

            return(SolZipHelper.CleanedUpFileName(fileName.Substring(BeginingOfPath.Length)));
        }
Beispiel #2
0
 public static string GetZipFileName(string fileToZip)
 {
     return(SolZipHelper.SuggestFileName(fileToZip));
 }