private string ZipEntryFileName(string fileName) { if (!fileName.StartsWith(BeginingOfPath)) { return(SolZipHelper.CleanedUpFileName(fileName)); } return(SolZipHelper.CleanedUpFileName(fileName.Substring(BeginingOfPath.Length))); }
public static string GetZipFileName(string fileToZip) { return(SolZipHelper.SuggestFileName(fileToZip)); }