MimeTypes 2.4.1

.NET Core 3.0 .NET Standard 2.0 .NET Framework 4.7.2

Requires NuGet 3.3 or higher.

dotnet add package MimeTypes --version 2.4.1
NuGet\Install-Package MimeTypes -Version 2.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MimeTypes" Version="2.4.1">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MimeTypes --version 2.4.1
#r "nuget: MimeTypes, 2.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MimeTypes as a Cake Addin
#addin nuget:?package=MimeTypes&version=2.4.1

// Install MimeTypes as a Cake Tool
#tool nuget:?package=MimeTypes&version=2.4.1

A simple lookup from file name/extension to MIME/media type and vice versa, generated from mime-db, which in turn is compiled from IANA, Apache and nginx's MIME types.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on MimeTypes:

Package Downloads
Terradue.Stars The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only


Collection of data Plugins for Terradue.Stars


Service implementations for magic.io that allows you to upload and download files to your ASP.NET Core application. To use package go to https://polterguy.github.io


BlazorMobile: Launch Blazor as a mobile application on iOS, Android & UWP, with native communication support. Support iOS 12+, Android 4.4 >= and UWP. Install this package on your shared Xamarin.Forms app project.


Library for integrating Sia Skynet into your applications

GitHub repositories (10)

Showing the top 5 popular GitHub repositories that depend on MimeTypes:

Repository Stars
The Free Software Media System
Simulate locations on iOS devices on Windows, Mac and Ubuntu.
NetSparkle is a C# software update framework for .NET developers compatible with .NET Core/.NET 5+, WinForms, WPF, and Avalonia; uses Ed25519 or DSA signatures! View basic usage here in the README or visit our website for code docs.
Create full C# driven hybrid-apps for iOS, Android, UWP & Desktop with Blazor!
Mass processing data with a complete ETL for .net developers
Version Downloads Last updated
2.4.1 15,803 2/21/2023
2.4.0 502,708 3/29/2022
2.3.0 154,194 2/8/2022
2.2.1 301,486 8/24/2021
2.2.0 281,638 2/24/2021
2.1.4 354 8/23/2021
2.1.3 382 4/17/2021
2.1.2 324 4/12/2021
2.1.1 106,909 12/29/2020
2.1.0 784 12/29/2020
2.0.2 381,227 6/16/2020
2.0.1 38,149 5/28/2020
2.0.0 1,255 5/28/2020
1.1.0 1,062,195 9/19/2018
1.0.6 222,975 12/6/2016
1.0.5 4,505 7/13/2015
1.0.4 18,530 6/29/2015
1.0.3 999 6/29/2015
1.0.2 1,568 9/7/2014
1.0.1 1,059 9/7/2014
1.0.0 1,347 9/7/2014