## ComHelper class

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

```csharp
public class ComHelper
```

## Constructors

| Name | Description |
| --- | --- |
| [ComHelper](comhelper/)() | Initializes a new instance of this class. |

## Methods

| Name | Description |
| --- | --- |
| [OpenBzip2](../../aspose.zip/comhelper/openbzip2/#openbzip2)(Stream) | Allows a COM application to load a bzip2 archive from a stream. |
| [OpenBzip2](../../aspose.zip/comhelper/openbzip2/#openbzip2_1)(string) | Allows a COM application to load a bzip2 archive from a file. |
| [OpenGzip](../../aspose.zip/comhelper/opengzip/#opengzip)(Stream) | Allows a COM application to load a gzip archive from a stream. |
| [OpenGzip](../../aspose.zip/comhelper/opengzip/#opengzip_1)(string) | Allows a COM application to load a gzip archive from a file. |
| [OpenRar](../../aspose.zip/comhelper/openrar/#openrar)(Stream) | Allows a COM application to load a rar archive from a stream. |
| [OpenRar](../../aspose.zip/comhelper/openrar/#openrar_1)(string) | Allows a COM application to load a rar archive from a file. |
| [OpenZip](../../aspose.zip/comhelper/openzip/#openzip)(Stream) | Allows a COM application to load a ZIP archive from a stream. |
| [OpenZip](../../aspose.zip/comhelper/openzip/#openzip_1)(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 the archive constructors directly, but if you are using Aspose.Zip from a COM application, only the default archive constructor is available.

### See Also

* namespace [Aspose.Zip](../../aspose.zip/)
* assembly [Aspose.Zip](../../)


