Detect format of 3D file

Detect Format Programming Sample

The following sample code illustrates how to detect a file format (using the file path or stream) and check its extension.