ZipWriterEntryOptions.cs 877 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using SharpCompress.Common;
  3. using SharpCompress.Compressors.Deflate;
  4. namespace SharpCompress.Writers.Zip
  5. {
  6. public class ZipWriterEntryOptions
  7. {
  8. public CompressionType? CompressionType { get; set; }
  9. /// <summary>
  10. /// When CompressionType.Deflate is used, this property is referenced. Defaults to CompressionLevel.Default.
  11. /// </summary>
  12. public CompressionLevel? DeflateCompressionLevel { get; set; }
  13. public string EntryComment { get; set; }
  14. public DateTime? ModificationDateTime { get; set; }
  15. /// <summary>
  16. /// Allocate an extra 20 bytes for this entry to store,
  17. /// 64 bit length values, thus enabling streams
  18. /// larger than 4GiB.
  19. /// This option is not supported with non-seekable streams.
  20. /// </summary>
  21. public bool? EnableZip64 { get; set; }
  22. }
  23. }