FileFormatUtilDetectFileFormat Method (Stream)

Detects and returns the information about a format of a file stored in a stream.

Namespace:  Aspose.Email.Tools
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static FileFormatInfo DetectFileFormat(
	Stream stream
)

Parameters

stream
Type: System.IOStream
Source stream.

Return Value

Type: FileFormatInfo
The result FileFormatInfo
See Also