// Detect It Easy: detection rule file
// Author: BJNFNE <bjnfne@web.de>
// Rewritten by DosX

// https://fileinfo.com/extension/ipch
meta("format", "Intellisense Precompiled Header File (.IPCH)");

function detect() {
    if (Binary.compare("'EDG C/C++ version '")) {
        var versionInfo = Binary.getString(18, 3).trim();

        if (versionInfo) {
            sVersion = versionInfo;
            bDetected = true;
        }
    }

    return result();
}
