Soenneker.Utils.File.Types 4.0.1660

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.File.Types --version 4.0.1660
                    
NuGet\Install-Package Soenneker.Utils.File.Types -Version 4.0.1660
                    
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="Soenneker.Utils.File.Types" Version="4.0.1660" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.File.Types" Version="4.0.1660" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.File.Types" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.File.Types --version 4.0.1660
                    
#r "nuget: Soenneker.Utils.File.Types, 4.0.1660"
                    
#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.
#:package Soenneker.Utils.File.Types@4.0.1660
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.File.Types&version=4.0.1660
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.File.Types&version=4.0.1660
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.File.Types

A utility library for various operations on specific file types.

Installation

dotnet add package Soenneker.Utils.File.Types

Quick start

using Soenneker.Utils.File.Types.Registrars;

services.AddFileTypeUtilAsSingleton();

Then inject IFileTypeUtil wherever you need it.

Common operations

  • GetAllVideoFiles() - Returns all video files under the specified directory (recursively). Allocates a single list; for lower allocation and streaming semantics, prefer EnumerateVideoFiles(string).
  • EnumerateVideoFiles() - Enumerates video files under the specified directory (recursively) without allocating a result list.
  • IsSubtitleExtension() - Determines whether an extension represents a known subtitle type.
  • IsVideoExtension() - Determines whether an extension represents a known video type.
  • IsImageExtension() - Determines whether an extension represents a known image (artwork) type.
  • IsAudioExtension() - Determines whether an extension represents a known audio type.
  • IsVideoFile() - Determines whether the specified path or file name refers to a video file (by extension).
  • IsImageFile() - Determines whether the specified path or file name refers to an image (artwork) file (by extension).
  • TryGetContainerMediaSet() - Attempts to get the container media format set (supported audio/video codecs) for a given container extension. Returns true if a known container mapping exists; otherwise, false.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1682 81 9/9/2026
4.0.1681 77 9/9/2026
4.0.1680 76 9/8/2026
4.0.1679 83 9/8/2026
4.0.1678 88 9/7/2026
4.0.1677 85 9/7/2026
4.0.1676 87 9/5/2026
4.0.1675 87 9/4/2026
4.0.1674 82 9/4/2026
4.0.1673 87 9/4/2026
4.0.1672 92 9/4/2026
4.0.1671 86 9/4/2026
4.0.1670 92 9/4/2026
4.0.1669 98 9/1/2026
4.0.1668 79 8/31/2026
4.0.1667 82 8/31/2026
4.0.1666 93 8/31/2026
4.0.1665 93 8/31/2026
4.0.1664 85 8/30/2026
4.0.1660 92 8/30/2026
Loading failed

Update dependency Soenneker.Utils.File to 4.0.2232 (#2206)