Example #1
0
 /// <summary>
 /// Appends a directory entry to the archive.
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 public IArchiveEntry CreateDirectoryEntry(string name)
 {
     var f = new ICSharpCode.SharpZipLib.Zip.ZipEntryFactory();
     return new ZipEntry(f.MakeDirectoryEntry(name));
 }
Example #2
0
        /// <summary>
        /// Appends a directory entry to the archive.
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public IArchiveEntry CreateDirectoryEntry(string name)
        {
            var f = new ICSharpCode.SharpZipLib.Zip.ZipEntryFactory();

            return(new ZipEntry(f.MakeDirectoryEntry(name)));
        }