• 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

    Class SharpSevenZipSfx

    The class for making 7-zip based self-extracting archives.

    Inheritance
    object
    SharpSevenZipSfx
    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 class SharpSevenZipSfx

    Constructors

    | Edit this page View Source

    SharpSevenZipSfx()

    Initializes a new instance of the SharpSevenZipSfx class.

    Declaration
    public SharpSevenZipSfx()
    | Edit this page View Source

    SharpSevenZipSfx(SfxModule)

    Initializes a new instance of the SharpSevenZipSfx class.

    Declaration
    public SharpSevenZipSfx(SfxModule module)
    Parameters
    Type Name Description
    SfxModule module

    The sfx module to use as a front-end.

    | Edit this page View Source

    SharpSevenZipSfx(string)

    Initializes a new instance of the SharpSevenZipSfx class.

    Declaration
    public SharpSevenZipSfx(string moduleFileName)
    Parameters
    Type Name Description
    string moduleFileName

    Properties

    | Edit this page View Source

    ModuleFileName

    Gets or sets the custom sfx module file name

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

    SfxModule

    Gets the sfx module type.

    Declaration
    public SfxModule SfxModule { get; }
    Property Value
    Type Description
    SfxModule

    Methods

    | Edit this page View Source

    MakeSfx(Stream, Dictionary<string, string>, Stream)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(Stream archive, Dictionary<string, string> settings, Stream sfxStream)
    Parameters
    Type Name Description
    Stream archive

    The archive stream.

    Dictionary<string, string> settings

    The sfx settings.

    Stream sfxStream

    The stream to write the self-extracting executable to.

    | Edit this page View Source

    MakeSfx(Stream, Dictionary<string, string>, string)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(Stream archive, Dictionary<string, string> settings, string sfxFileName)
    Parameters
    Type Name Description
    Stream archive

    The archive stream.

    Dictionary<string, string> settings

    The sfx settings.

    string sfxFileName

    The name of the self-extracting executable.

    | Edit this page View Source

    MakeSfx(Stream, Stream)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(Stream archive, Stream sfxStream)
    Parameters
    Type Name Description
    Stream archive

    The archive stream.

    Stream sfxStream

    The stream to write the self-extracting executable to.

    | Edit this page View Source

    MakeSfx(Stream, string)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(Stream archive, string sfxFileName)
    Parameters
    Type Name Description
    Stream archive

    The archive stream.

    string sfxFileName

    The name of the self-extracting executable.

    | Edit this page View Source

    MakeSfx(string, Dictionary<string, string>, Stream)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(string archiveFileName, Dictionary<string, string> settings, Stream sfxStream)
    Parameters
    Type Name Description
    string archiveFileName

    The archive file name.

    Dictionary<string, string> settings

    The sfx settings.

    Stream sfxStream

    The stream to write the self-extracting executable to.

    | Edit this page View Source

    MakeSfx(string, Dictionary<string, string>, string)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(string archiveFileName, Dictionary<string, string> settings, string sfxFileName)
    Parameters
    Type Name Description
    string archiveFileName

    The archive file name.

    Dictionary<string, string> settings

    The sfx settings.

    string sfxFileName

    The name of the self-extracting executable.

    | Edit this page View Source

    MakeSfx(string, Stream)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(string archiveFileName, Stream sfxStream)
    Parameters
    Type Name Description
    string archiveFileName

    The archive file name.

    Stream sfxStream

    The stream to write the self-extracting executable to.

    | Edit this page View Source

    MakeSfx(string, string)

    Makes the self-extracting archive.

    Declaration
    public void MakeSfx(string archiveFileName, string sfxFileName)
    Parameters
    Type Name Description
    string archiveFileName

    The archive file name.

    string sfxFileName

    The name of the self-extracting executable.

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