File Content Extraction 25.3
Filter SDK C++ Programming Guide

# detect

File Content Extraction can provide information about a very large number of file formats. This sample program makes use of the file format detection API method.

The sample program takes a path to a file and prints the information reported by the API. For example, the following output is produced when you run the program with an `mp3` file:

    $ ./detect my_file
    Format: 270
    Description:    MPEG Audio
    Version:        3000
    Category:       9
    Category Name:  Audio
    Encrypted:      false

The `Format` and `Category` values are from the C++ enum defined in the `Keyview_Enumerations.hpp` file. See Enumerations for more information.

Copyright 1997-2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.3

Topic Title: detect