Soenneker.Utils.File.Types 4.0.1661

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.1661
                    
NuGet\Install-Package Soenneker.Utils.File.Types -Version 4.0.1661
                    
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.1661" />
                    
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.1661" />
                    
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.1661
                    
#r "nuget: Soenneker.Utils.File.Types, 4.0.1661"
                    
#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.1661
                    
#: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.1661
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.File.Types&version=4.0.1661
                    
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.1679 0 9/8/2026
4.0.1678 0 9/7/2026
4.0.1677 30 9/7/2026
4.0.1676 44 9/5/2026
4.0.1675 40 9/4/2026
4.0.1674 38 9/4/2026
4.0.1673 42 9/4/2026
4.0.1672 46 9/4/2026
4.0.1671 38 9/4/2026
4.0.1670 46 9/4/2026
4.0.1669 82 9/1/2026
4.0.1668 71 8/31/2026
4.0.1667 76 8/31/2026
4.0.1666 85 8/31/2026
4.0.1665 85 8/31/2026
4.0.1664 80 8/30/2026
4.0.1663 78 8/30/2026
4.0.1662 84 8/30/2026
4.0.1661 115 8/30/2026
4.0.1660 86 8/30/2026
Loading failed

Update dependency Soenneker.Utils.File to 4.0.2234 (#2207)