• 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

    Struct ArchiveFormatInfo

    The result of probing a file or stream for its archive format. Carries everything SharpSevenZipExtractor needs to open the archive, so a caller that has already probed the format does not pay for signature detection a second time.

    Implements
    IEquatable<ArchiveFormatInfo>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SharpSevenZip
    Assembly: SharpSevenZip.dll
    Syntax
    public readonly record struct ArchiveFormatInfo : IEquatable<ArchiveFormatInfo>

    Properties

    | Edit this page View Source

    Format

    Gets the detected archive format, or None when the input is not a recognised archive.

    Declaration
    public InArchiveFormat Format { get; }
    Property Value
    Type Description
    InArchiveFormat
    | Edit this page View Source

    IsArchive

    Gets a value indicating whether a recognised archive format was found.

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

    IsExecutable

    Gets a value indicating whether the input is a PE executable (which may, but need not, be a self-extracting archive).

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

    Offset

    Gets the byte offset at which the archive content begins. Non-zero for self-extracting or otherwise embedded archives.

    Declaration
    public int Offset { get; }
    Property Value
    Type Description
    int

    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