• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpSevenZip
      • ArchiveFileInfo
      • ArchiveProperty
      • CompressionLevel
      • CompressionMethod
      • CompressionMode
      • EventSynchronizationStrategy
      • ExtractFileCallback
      • ICancellable
      • InArchiveFormat
      • LibraryFeature
      • OperationResult
      • OutArchiveFormat
      • SfxModule
      • 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
      • SharpSevenZipException
      • SharpSevenZipExtractionFailedException
      • SharpSevenZipInvalidFileNamesException
      • SharpSevenZipLibraryException
      • SharpSevenZipSfxValidationException
    • SharpSevenZip.Lzma
      • LzmaDecodeStream
      • LzmaEncodeStream
    • SharpSevenZip.Sdk
      • CoderPropId
      • ICodeProgress
      • ICoder
    • SharpSevenZip.Sdk.Compression.Lzma
      • Decoder
      • Encoder

    Struct ArchiveFileInfo

    Struct for storing information about files in the 7-zip archive.

    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SharpSevenZip
    Assembly: SharpSevenZip.dll
    Syntax
    public struct ArchiveFileInfo

    Properties

    | Edit this page View Source

    Attributes

    Gets or sets file attributes.

    Declaration
    [CLSCompliant(false)]
    public uint Attributes { readonly get; set; }
    Property Value
    Type Description
    uint
    | Edit this page View Source

    Comment

    Gets or sets comment for the file.

    Declaration
    public string Comment { readonly get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Crc

    Gets or sets CRC checksum of the file.

    Declaration
    [CLSCompliant(false)]
    public uint Crc { readonly get; set; }
    Property Value
    Type Description
    uint
    | Edit this page View Source

    CreationTime

    Gets or sets the file creation time.

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

    Encrypted

    Gets or sets being encrypted.

    Declaration
    public bool Encrypted { readonly get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    FileName

    Gets or sets file name

    Declaration
    public string FileName { readonly get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Index

    Gets or sets index of the file in the archive file table.

    Declaration
    [CLSCompliant(false)]
    public int Index { readonly get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    IsDirectory

    Gets or sets being a directory.

    Declaration
    public bool IsDirectory { readonly get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    LastAccessTime

    Gets or sets the file creation time.

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

    LastWriteTime

    Gets or sets the file last write time.

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

    Method

    Compression method for the file.

    Declaration
    public string Method { readonly get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Size

    Gets or sets size of the file (unpacked).

    Declaration
    [CLSCompliant(false)]
    public ulong Size { readonly get; set; }
    Property Value
    Type Description
    ulong

    Methods

    | Edit this page View Source

    Equals(ArchiveFileInfo)

    Determines whether the specified ArchiveFileInfo is equal to the current ArchiveFileInfo.

    Declaration
    public readonly bool Equals(ArchiveFileInfo afi)
    Parameters
    Type Name Description
    ArchiveFileInfo afi

    The ArchiveFileInfo to compare with the current ArchiveFileInfo.

    Returns
    Type Description
    bool

    true if the specified ArchiveFileInfo is equal to the current ArchiveFileInfo; otherwise, false.

    | Edit this page View Source

    Equals(object?)

    Determines whether the specified System.Object is equal to the current ArchiveFileInfo.

    Declaration
    public override readonly bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The System.Object to compare with the current ArchiveFileInfo.

    Returns
    Type Description
    bool

    true if the specified System.Object is equal to the current ArchiveFileInfo; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as a hash function for a particular type.

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current ArchiveFileInfo.

    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a System.String that represents the current ArchiveFileInfo.

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    string

    A System.String that represents the current ArchiveFileInfo.

    Overrides
    ValueType.ToString()

    Operators

    | Edit this page View Source

    operator ==(ArchiveFileInfo, ArchiveFileInfo)

    Determines whether the specified ArchiveFileInfo instances are considered equal.

    Declaration
    public static bool operator ==(ArchiveFileInfo afi1, ArchiveFileInfo afi2)
    Parameters
    Type Name Description
    ArchiveFileInfo afi1

    The first ArchiveFileInfo to compare.

    ArchiveFileInfo afi2

    The second ArchiveFileInfo to compare.

    Returns
    Type Description
    bool

    true if the specified ArchiveFileInfo instances are considered equal; otherwise, false.

    | Edit this page View Source

    operator !=(ArchiveFileInfo, ArchiveFileInfo)

    Determines whether the specified ArchiveFileInfo instances are not considered equal.

    Declaration
    public static bool operator !=(ArchiveFileInfo afi1, ArchiveFileInfo afi2)
    Parameters
    Type Name Description
    ArchiveFileInfo afi1

    The first ArchiveFileInfo to compare.

    ArchiveFileInfo afi2

    The second ArchiveFileInfo to compare.

    Returns
    Type Description
    bool

    true if the specified ArchiveFileInfo instances are not considered equal; otherwise, false.

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