## FileFormatUtil class

Provides utility methods to detect file type.

```csharp
public static class FileFormatUtil
```

## Methods

| Name | Description |
| --- | --- |
| static [DetectFileFormat](../../aspose.email.tools/fileformatutil/detectfileformat/#detectfileformat)(Stream) | Detects and returns the information about a format of a file stored in a stream. |
| static [DetectFileFormat](../../aspose.email.tools/fileformatutil/detectfileformat/#detectfileformat_1)(string) | Detects and returns the information about a format of a file. |

### See Also

* namespace [Aspose.Email.Tools](../../aspose.email.tools/)
* assembly [Aspose.Email](../../)


