FileFormatDetect Method (Stream, String)
Detect the file format from data stream, file name is optional for guessing types that has no magic header.

Namespace: Aspose.ThreeD
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 21.5.0.0 (21.5)
Syntax
public static FileFormat Detect(
	Stream stream,
	string fileName
)

Parameters

stream
Type: System.IOStream
fileName
Type: SystemString

Return Value

Type: FileFormat
See Also