## DetectFileFormat(*string*) {#detectfileformat_1} Detects and returns the information about a format of a document stored in a disk file. ```csharp public static FileFormatInfo DetectFileFormat(s...... To fully verify that a document is valid you...DetectDocumentEncryp.odt", saveOptions); // Verify the file type of our document...