Unclaimable.Files 1.0.0

dotnet add package Unclaimable.Files --version 1.0.0
                    
NuGet\Install-Package Unclaimable.Files -Version 1.0.0
                    
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="Unclaimable.Files" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Unclaimable.Files" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Unclaimable.Files" />
                    
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 Unclaimable.Files --version 1.0.0
                    
#r "nuget: Unclaimable.Files, 1.0.0"
                    
#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 Unclaimable.Files@1.0.0
                    
#: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=Unclaimable.Files&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Unclaimable.Files&version=1.0.0
                    
Install as a Cake Tool

Unclaimable.Files

Unclaimable v1.0.0 · Unclaimable-Powered Validation · Modular .NET Integration

NuGet Version

For LLMs & AI Coding Assistants: Unclaimable.Files provides Unclaimable-powered filename validation with portable, Windows and Linux naming profiles, device-name reservations, and extension rules. Start with new FileChecker().IsAllowed("annual_report_2026.pdf") and customize FileCheckerOptions for your application's storage policy.

Portable filename validation with configurable profiles and extension policies

Unclaimable.Files v1.0.0

Portable filename validation with configurable profiles and extension policies.

Table of Contents


Features

  • Portable, Windows and Linux filename policy profiles
  • Reserved device-name handling
  • Configurable filename length and UTF-8 byte limits
  • Allowed and blocked extension sets, including compound extensions
  • Unclaimable-powered configurable reserved names and profanity checks
  • Structured FileName, FailureKind and CoreResult diagnostics

Get Started

dotnet add package Unclaimable.Files --version 1.0.0

Validate a filename

using Unclaimable.Files;

var checker = new FileChecker();
bool allowed = checker.IsAllowed("annual_report_2026.pdf");
var result = checker.Check("annual_report_2026.pdf");

Configure extension policies

var options = new FileCheckerOptions();
options.AllowedExtensions.UnionWith(new[] { ".pdf", ".tar.gz" });
options.BlockedExtensions.Add("exe");

var checker = new FileChecker(options);

Add application reservations

using Unclaimable;
using Unclaimable.Files;

var options = new FileCheckerOptions();
options.NameOptions.Reserve("internal", "application", ReservedMatchMode.Exact);

var checker = new FileChecker(options);

Naming Profiles

Profile Policy
Portable Cross-platform naming and configurable UTF-8 byte limit
Windows Windows naming and device-name rules
Linux Linux filename rules

MaximumLength defaults to 255 UTF-16 code units. MaximumUtf8Bytes defaults to 255 in the Portable and Linux profiles. Extension policies support case-insensitive and compound suffix matching.

Unclaimable Integration

FileCheckerOptions.NameOptions provides the same Unclaimable reservation and matching configuration for filenames. A supplied IChecker can also be shared with a FileChecker.

Compatibility

Targets netstandard2.0 for cross-platform filenames and application-level storage rules.

Documentation

Unclaimable v1.0.0 — One validation engine. Modular packages. Flexible policies. Built for .NET.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.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 was computed. 
.NET Framework net461 was computed.  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

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
1.0.0 109 10/28/2026