Class ComHelper

ComHelper class

Provides methods for COM clients to load archives into Aspose.Zip.

public class ComHelper

Constructors

NameDescription
ComHelper()Initializes a new instance of this class.

Methods

NameDescription
OpenBzip2(Stream)Allows a COM application to load a bzip2 archive from a stream.
OpenBzip2(string)Allows a COM application to load a bzip2 archive from a file.
OpenGzip(Stream)Allows a COM application to load a gzip archive from a stream.
OpenGzip(string)Allows a COM application to load a gzip archive from a file.
OpenRar(Stream)Allows a COM application to load a rar archive from a stream.
OpenRar(string)Allows a COM application to load a rar archive from a file.
OpenZip(Stream)Allows a COM application to load a zip archive from a stream.
OpenZip(string)Allows a COM application to load a zip archive from a file.

Remarks

Use the ComHelper class to load an archive from a file or stream. Particular classes provide a default constructor to create a new archive and also provides overloaded constructors to load an archive from a file or stream. If you are using Aspose.Zip from a .NET application, you can use all of the archives constructors directly, but if you are using Aspose.Zip from a COM application, only the default archive constructor is available.

See Also