• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpSevenZip
      • ArchiveFileInfo
      • ArchiveFormatInfo
      • ArchiveProperty
      • CompressionLevel
      • CompressionMethod
      • CompressionMode
      • EventSynchronizationStrategy
      • ExtractFileCallback
      • Formats
      • ICancellable
      • InArchiveFormat
      • LibraryFeature
      • OperationResult
      • OutArchiveFormat
      • SfxModule
      • SfxTarget
      • SharpSevenZipArchiveFormat
      • SharpSevenZipBase
      • SharpSevenZipCompressor
      • SharpSevenZipExtractor
      • SharpSevenZipSfx
      • StreamWithAttributes
      • ZipEncryptionMethod
    • SharpSevenZip.EventArguments
      • ExtractFileCallbackArgs
      • ExtractFileCallbackReason
      • FileInfoEventArgs
      • FileNameEventArgs
      • FileOverwriteEventArgs
      • IntEventArgs
      • OpenEventArgs
      • PercentDoneEventArgs
      • ProgressEventArgs
    • SharpSevenZip.Exceptions
      • CompressionFailedException
      • ExtractionFailedException
      • LzmaException
      • SharpSevenZipArchiveException
      • SharpSevenZipCompressionFailedException
      • SharpSevenZipConfigurationException
      • SharpSevenZipException
      • SharpSevenZipExtractionFailedException
      • SharpSevenZipInvalidFileNamesException
      • SharpSevenZipLibraryException
      • SharpSevenZipSfxValidationException
    • SharpSevenZip.Lzma
      • LzmaDecodeStream
      • LzmaEncodeStream
    • SharpSevenZip.Sdk
      • CoderPropId
      • ICodeProgress
      • ICoder
    • SharpSevenZip.Sdk.Compression.Lzma
      • Decoder
      • Encoder

    Class StreamWithAttributes

    Associates a Stream with optional file-time attributes for use in archive compression.

    Inheritance
    object
    StreamWithAttributes
    Implements
    IEquatable<StreamWithAttributes>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SharpSevenZip
    Assembly: SharpSevenZip.dll
    Syntax
    public record StreamWithAttributes : IEquatable<StreamWithAttributes>

    Constructors

    | Edit this page View Source

    StreamWithAttributes(Stream, DateTime?, DateTime?, DateTime?)

    Associates a Stream with optional file-time attributes for use in archive compression.

    Declaration
    public StreamWithAttributes(Stream Stream, DateTime? CreationTime = null, DateTime? LastWriteTime = null, DateTime? LastAccessTime = null)
    Parameters
    Type Name Description
    Stream Stream

    The stream containing the file data to compress.

    DateTime? CreationTime

    The creation time to store in the archive, or null to omit.

    DateTime? LastWriteTime

    The last-write time to store in the archive, or null to omit.

    DateTime? LastAccessTime

    The last-access time to store in the archive, or null to omit.

    Properties

    | Edit this page View Source

    CreationTime

    The creation time to store in the archive, or null to omit.

    Declaration
    public DateTime? CreationTime { get; init; }
    Property Value
    Type Description
    DateTime?
    | Edit this page View Source

    LastAccessTime

    The last-access time to store in the archive, or null to omit.

    Declaration
    public DateTime? LastAccessTime { get; init; }
    Property Value
    Type Description
    DateTime?
    | Edit this page View Source

    LastWriteTime

    The last-write time to store in the archive, or null to omit.

    Declaration
    public DateTime? LastWriteTime { get; init; }
    Property Value
    Type Description
    DateTime?
    | Edit this page View Source

    Stream

    The stream containing the file data to compress.

    Declaration
    public Stream Stream { get; init; }
    Property Value
    Type Description
    Stream

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (C) Markovtsev Vadim 2009, 2010, Jérémy Ansel 2024