KeyView 23.2

# detect

KeyView 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 2016-2023 Open Text
Version 23.2 | Last updated March 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.2

Topic Title: detect