Search Results for

    Show / Hide Table of Contents

    Class IronBaseArchive

    Base class for Iron Software Archives

    Inheritance
    System.Object
    IronBaseArchive
    IronBZip2Archive
    IronGZipArchive
    IronTarArchive
    IronZipArchive
    Implements
    System.IDisposable
    Namespace: IronZip
    Assembly: IronZip.dll
    Syntax
    public abstract class IronBaseArchive : Object, IDisposable

    Constructors

    IronBaseArchive()

    Declaration
    protected IronBaseArchive()

    Fields

    _internalStream

    Internal MemoryStream to store ZipOutputStream

    Declaration
    protected MemoryStream _internalStream
    Field Value
    Type Description
    System.IO.MemoryStream

    _storedArchivePath

    File path to store the Archive.

    Declaration
    protected string _storedArchivePath
    Field Value
    Type Description
    System.String

    isDisposed

    Dispose method

    Declaration
    protected bool isDisposed
    Field Value
    Type Description
    System.Boolean

    Methods

    Dispose()

    Check the license before using IronZIP

    Declaration
    public virtual void Dispose()
    Exceptions
    Type Condition
    IronSoftware.Exceptions.LicensingException

    Save()

    Save the archive

    Declaration
    public abstract void Save()
    Remarks

    Users cannot add additional entries after saving

    SaveAs(String)

    Save the archive to the specified path

    Declaration
    public abstract void SaveAs(string Path)
    Parameters
    Type Name Description
    System.String Path

    Save path

    Remarks

    Users cannot add additional entries after saving

    Implements

    System.IDisposable
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.