DetectFileFormat

DetectFileFormat(Stream)

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

public static FileFormatInfo DetectFileFormat(Stream stream)
Parameter Type Description
stream Stream

Return Value

A FileFormatInfo object that contains the detected information.

See Also


DetectFileFormat(Stream, string)

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

public static FileFormatInfo DetectFileFormat(Stream stream, string password)
Parameter Type Description
stream Stream
password String The password for encrypted ooxml files.

Return Value

A FileFormatInfo object that contains the detected information.

See Also


DetectFileFormat(string)

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

public static FileFormatInfo DetectFileFormat(string filePath)
Parameter Type Description
filePath String The file path.

Return Value

A FileFormatInfo object that contains the detected information.

See Also


DetectFileFormat(string, string)

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

public static FileFormatInfo DetectFileFormat(string filePath, string password)
Parameter Type Description
filePath String The file path.
password String The password for encrypted ooxml files.

Return Value

A FileFormatInfo object that contains the detected information.

See Also