---
title: "ArchiveFormatDetector"
url: "https://reference.aspose.com/zip/net/aspose.zip.archiveinfo/archiveformatdetector/"
product: "Aspose.ZIP for .NET API Reference"
---

## ArchiveFormatDetector class

Detects archive format and provides other related information.

```csharp
public sealed class ArchiveFormatDetector
```

## Constructors

| Name | Description |
| --- | --- |
| [ArchiveFormatDetector](archiveformatdetector)() | Initializes a new instance of the [`ArchiveFormatDetector`](../archiveformatdetector) class. |

## Methods

| Name | Description |
| --- | --- |
| [GetFormatInfo](../../aspose.zip.archiveinfo/archiveformatdetector/getformatinfo)(Stream) | Gets format info. |
| [GetFormatInfo](../../aspose.zip.archiveinfo/archiveformatdetector/getformatinfo)(string) | Gets format info. |

### See Also

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

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Zip.dll -->
