FileFormatUtilDetectFileFormat Method (Stream, String)

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

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public static FileFormatInfo DetectFileFormat(
	Stream stream,
	string password
)

Parameters

stream
Type: System.IOStream
password
Type: SystemString
The password for encrypted ooxml files.

Return Value

Type: FileFormatInfo
A FileFormatInfo object that contains the detected information.
See Also