FolkerKinzel.MimeTypes 5.2.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FolkerKinzel.MimeTypes --version 5.2.1                
NuGet\Install-Package FolkerKinzel.MimeTypes -Version 5.2.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="FolkerKinzel.MimeTypes" Version="5.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FolkerKinzel.MimeTypes --version 5.2.1                
#r "nuget: FolkerKinzel.MimeTypes, 5.2.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 FolkerKinzel.MimeTypes as a Cake Addin
#addin nuget:?package=FolkerKinzel.MimeTypes&version=5.2.1

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


.NET Library that supports working with Internet Media Types ("MIME Types")

Project Reference and Release Notes

  • The static MimeString class works on strings and allows to convert file names into Internet Media Types ("MIME types") or Internet Media Types into appropriate file type extensions.
  • The MimeType class allows:
    • Building instances from scratch using a fluent API,
    • Parsing and validating Internet Media Types,
    • Editing Internet Media Type parameters,
    • Serializing Internet Media Types as strings according to the standards (see RFC 2045 and RFC 2231) using several formatting options,
    • Retrieving a file type extension.
  • The MimeTypeInfo struct allows memory efficient parsing, validating, and reformatting of Internet Media Type strings and allows to retrieve an appropriate file type extension.

The library is designed to support performance and small heap allocation.

See code examples on GitHub

Version History

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FolkerKinzel.MimeTypes:

Package Downloads

.NET library that supports working with "data" URLs (RFC 2397)


.NET library that supports working with "data" URLs (RFC 2397)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.3.0-beta.1 30 7/16/2024
5.2.1 1,505 6/2/2024
5.2.1-beta.3 63 5/22/2024
5.2.1-beta.2 43 5/20/2024
5.2.1-beta.1 46 5/18/2024
5.2.0 734 5/4/2024
5.2.0-beta.1 84 4/28/2024
5.1.2 1,176 4/10/2024
5.1.1 524 3/10/2024
5.1.0 352 11/26/2023
5.0.4 2,525 11/5/2023
5.0.3 162 10/27/2023
5.0.2 1,426 10/18/2023
5.0.1 201 9/30/2023
5.0.0 112 9/28/2023
4.0.4 146 9/24/2023
4.0.3 112 9/21/2023
4.0.2 113 9/19/2023
4.0.1 224 8/10/2023
4.0.0 148 8/7/2023
4.0.0-rc.4 80 7/28/2023
4.0.0-rc.3 76 7/28/2023
4.0.0-rc.2 80 7/27/2023
3.0.0-beta.1 89 7/23/2023
2.0.0-beta.5 93 7/23/2023
2.0.0-beta.3 86 7/22/2023
2.0.0-beta.2 79 7/20/2023
2.0.0-beta.1 55 7/20/2023
1.0.0-beta.4 5,840 1/21/2022
1.0.0-beta.3 134 1/3/2022
1.0.0-beta.2 155 9/8/2021
1.0.0-beta.1 134 8/30/2021
1.0.0-alpha.3 151 8/16/2021
1.0.0-alpha.2 143 8/11/2021
1.0.0-alpha.1 150 8/9/2021