# Welcome

Magico is a C# library that allows you to pull some magical tricks on a variety of things, such as `IEnumerable` instances and file magic investigation.

## <mark style="color:$primary;">Release history</mark>

Below is the release history of the library:

{% updates format="full" %}
{% update date="2026-04-19" %}

## <mark style="color:$primary;">v1.7.2</mark>

<mark style="color:yellow;">Updated SpecProbe</mark>
{% endupdate %}

{% update date="2026-04-14" %}

## <mark style="color:$primary;">v1.7.1</mark>

<mark style="color:green;">Added initial FreeBSD support</mark>
{% endupdate %}

{% update date="2026-02-15" %}

## <mark style="color:$primary;">v1.7.0.1</mark>

<mark style="color:yellow;">Updated libraries</mark>
{% endupdate %}

{% update date="2026-01-12" %}

## <mark style="color:$primary;">v1.7</mark>

<mark style="color:green;">Added support for more file types</mark>

<mark style="color:yellow;">Updated libmagic</mark>
{% endupdate %}

{% update date="2025-12-18" %}

## <mark style="color:$primary;">v1.6</mark>

<mark style="color:green;">Added support for more file types</mark>

<mark style="color:yellow;">Updated libmagic</mark>
{% endupdate %}

{% update date="2025-10-27" %}

## <mark style="color:$primary;">v1.5.2</mark>

<mark style="color:yellow;">General improvements</mark>
{% endupdate %}

{% update date="2025-10-25" %}

## <mark style="color:$primary;">v1.5.1</mark>

<mark style="color:yellow;">General improvements</mark>
{% endupdate %}

{% update date="2025-07-03" %}

## <mark style="color:$primary;">v1.5</mark>

<mark style="color:green;">Added localized strings</mark>
{% endupdate %}

{% update date="2025-05-25" %}

## <mark style="color:$primary;">v1.4.1</mark>

<mark style="color:green;">Added more supported number types</mark>
{% endupdate %}

{% update date="2025-05-04" %}

## <mark style="color:$primary;">v1.4</mark>

<mark style="color:green;">Added reflection tools straight from Nitrocid</mark>

<mark style="color:green;">Added array sorting and shuffling (again from Nitrocid)</mark>
{% endupdate %}

{% update date="2025-04-18" %}

## <mark style="color:$primary;">v1.3.4</mark>

<mark style="color:yellow;">Updated libmagic</mark>

<mark style="color:yellow;">Updated libraries</mark>
{% endupdate %}

{% update date="2025-02-28" %}

## <mark style="color:$primary;">v1.3.3</mark>

<mark style="color:yellow;">Updated libraries</mark>
{% endupdate %}

{% update date="2024-12-19" %}

## <mark style="color:$primary;">v1.3.2</mark>

<mark style="color:yellow;">Updated libraries</mark>
{% endupdate %}

{% update date="2024-12-03" %}

## <mark style="color:$primary;">v1.3.1</mark>

<mark style="color:yellow;">Updated libmagic</mark>
{% endupdate %}

{% update date="2024-11-23" %}

## <mark style="color:$primary;">v1.3.0.1</mark>

<mark style="color:yellow;">Updated libmagic</mark>
{% endupdate %}

{% update date="2024-11-16" %}

## <mark style="color:$primary;">v1.3</mark>

<mark style="color:yellow;">Updated libmagic</mark>
{% endupdate %}

{% update date="2024-10-17" %}

## <mark style="color:$primary;">v1.2.4</mark>

<mark style="color:yellow;">Updates to libraries that utilize System.Text.Json</mark>
{% endupdate %}

{% update date="2024-10-07" %}

## <mark style="color:$primary;">v1.2.3</mark>

<mark style="color:green;">Added more magic numbers</mark>

<mark style="color:yellow;">Updates to the</mark> <mark style="color:yellow;"></mark><mark style="color:yellow;">`libmagic`</mark> <mark style="color:yellow;"></mark><mark style="color:yellow;">codebase</mark>
{% endupdate %}

{% update date="2024-09-04" %}

## <mark style="color:$primary;">v1.2.2</mark>

<mark style="color:green;">Added nullable support</mark>
{% endupdate %}

{% update date="2024-08-30" %}

## <mark style="color:$primary;">v1.2.1</mark>

<mark style="color:green;">Added more file types</mark>

<mark style="color:yellow;">General improvements and bug fixes</mark>
{% endupdate %}

{% update date="2024-08-24" %}

## <mark style="color:$primary;">v1.2</mark>

<mark style="color:green;">Added Terminaux extensions</mark>
{% endupdate %}

{% update date="2024-08-19" %}

## <mark style="color:$primary;">v1.1.2</mark>

<mark style="color:yellow;">Updated SpecProbe to 3.0.0</mark>
{% endupdate %}

{% update date="2024-08-13" %}

## <mark style="color:$primary;">v1.1.1.2</mark>

<mark style="color:yellow;">Updated libraries</mark>
{% endupdate %}

{% update date="2024-08-12" %}

## <mark style="color:$primary;">v1.1.1.1</mark>

<mark style="color:yellow;">Re-compiled libmagic for Linux 64-bit</mark>
{% endupdate %}

{% update date="2024-08-11" %}

## <mark style="color:$primary;">v1.1.1</mark>

<mark style="color:red;">Removed 32-bit support</mark>

{% hint style="danger" %}
Starting from Magico v1.1.1, 32-bit support has been removed. If you still want to target 32-bit platforms in your applications, you can use v1.1.0.1 or older, but you'll miss out on all the new features and the improvements. We advise you to take out 32-bit support as soon as you can.
{% endhint %}
{% endupdate %}

{% update date="2024-08-05" %}

## <mark style="color:$primary;">v1.1.0.1</mark>

<mark style="color:yellow;">General improvements</mark>
{% endupdate %}

{% update date="2024-08-05" %}

## <mark style="color:$primary;">v1.1</mark>

<mark style="color:green;">Added more file magic numbers</mark>

<mark style="color:yellow;">General improvements</mark>
{% endupdate %}

{% update date="2024-08-01" %}

## <mark style="color:$primary;">v1.0.3</mark>

<mark style="color:yellow;">Used SpecProbe.Loader</mark>

<mark style="color:yellow;">Updated all libraries</mark>
{% endupdate %}

{% update date="2024-07-28" %}

## <mark style="color:$primary;">v1.0.2</mark>

<mark style="color:green;">Added support for .NET Standard 2.0</mark>

<mark style="color:yellow;">General improvements</mark>
{% endupdate %}

{% update date="2024-07-10" %}

## <mark style="color:$primary;">v1.0.1</mark>

<mark style="color:green;">Added more files to the magic database</mark>

<mark style="color:green;">Added Windows ARM64 support</mark>
{% endupdate %}

{% update date="2024-05-16" %}

## <mark style="color:$primary;">v1.0</mark>

The initial release of the library is now live!
{% endupdate %}
{% endupdates %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aptivi.gitbook.io/aptivi/magico-manual/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
