// Detect It Easy: detection rule file

// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev

// https://github.com/mono/SkiaSharp (.NET)
meta("library", "SkiaSharp");

function detect() {
    if (PE.isNetObjectPresent("SkiaSharp")) {
        sVersion = "Mono-based";
        bDetected = true;
    } else if (PE.isLibraryPresentExp(/^libskiasharp/i)) {
        sVersion = "Native";
        bDetected = true;
    }

    return result();
}