A .NET library for determining MIME types and file formats from byte arrays.
SunamoMime is part of the Sunamo package ecosystem, providing modular, platform-independent utilities for .NET development. It uses file signature analysis (magic bytes) with built-in WEBP detection and delegates to FileSignatures for other formats.
- SunamoMimeHelper - Helper class for determining MIME types and file formats from byte arrays.
Init()- Initializes known MIME type signatures.FileType(byte[] array)- Determines the file type from a byte array by analyzing file signatures.
dotnet add package SunamoMime- FileSignatures (v6.1.1)
- Microsoft.Extensions.Logging.Abstractions (v10.0.2)
- Package Name: SunamoMime
- Target Frameworks: net10.0;net9.0;net8.0
- Category: Platform-Independent NuGet Package
This package is part of the Sunamo package ecosystem. For more information about related packages, visit the main repository.
MIT - See the repository root for license information.