DetectFileFormat

FileFormatUtil.DetectFileFormat method (1 of 2)

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

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

Return Value

The result FileFormatInfo

See Also


FileFormatUtil.DetectFileFormat method (2 of 2)

Detects and returns the information about a format of a file.

public static FileFormatInfo DetectFileFormat(string filePath)
Parameter Type Description
filePath String Path to the source file.

Return Value

The result FileFormatInfo

See Also