Soenneker.Extensions.FileInfo
4.0.611
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Extensions.FileInfo --version 4.0.611
NuGet\Install-Package Soenneker.Extensions.FileInfo -Version 4.0.611
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.Extensions.FileInfo" Version="4.0.611" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.FileInfo" Version="4.0.611" />
<PackageReference Include="Soenneker.Extensions.FileInfo" />
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.Extensions.FileInfo --version 4.0.611
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.FileInfo, 4.0.611"
#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.Extensions.FileInfo@4.0.611
#: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.Extensions.FileInfo&version=4.0.611
#tool nuget:?package=Soenneker.Extensions.FileInfo&version=4.0.611
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.FileInfo
A collection of helpful FileInfo extension methods.
Installation
dotnet add package Soenneker.Extensions.FileInfo
Quick start
using Soenneker.Extensions.FileInfo;
// Given an existing System.IO.FileInfo named value:
var result = value.HasReadOnlyOrArchivedAttribute();
Common operations
HasReadOnlyOrArchivedAttribute()- Determines whether the specified file has either the ReadOnly or Archive attribute set.RemoveReadOnlyOrArchivedAttribute()- Removes the read-only and archived attributes from the specified file, if they are set. This method modifies the file's attributes in place.HasAttributeSet()- Determines whether the specified set of file attributes is present on the file represented by thisSystem.IO.FileInfoinstance.RemoveAttribute()- Removes the specified file attributes from the current file represented by the givenSystem.IO.FileInfoinstance.
| Product | Versions 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.
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Extensions.FileInfo:
| Package | Downloads |
|---|---|
|
Soenneker.Utils.FileSync
A utility library encapsulating synchronous file IO operations |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.612 | 161 | 8/30/2026 |
| 4.0.611 | 120 | 8/29/2026 |
| 4.0.610 | 445 | 7/27/2026 |
| 4.0.609 | 251 | 7/16/2026 |
| 4.0.608 | 1,465 | 6/18/2026 |
| 4.0.607 | 335 | 6/5/2026 |
| 4.0.606 | 358 | 4/22/2026 |
| 4.0.605 | 397 | 3/12/2026 |
| 4.0.604 | 194 | 3/12/2026 |
| 4.0.603 | 184 | 3/12/2026 |
| 4.0.602 | 223 | 3/12/2026 |
| 4.0.601 | 239 | 3/10/2026 |
| 4.0.600 | 232 | 3/9/2026 |
| 4.0.599 | 129 | 3/9/2026 |
| 4.0.598 | 179 | 3/9/2026 |
| 4.0.597 | 217 | 3/4/2026 |
| 4.0.596 | 535 | 1/8/2026 |
| 4.0.595 | 276 | 1/2/2026 |
| 4.0.594 | 661 | 11/20/2025 |
| 4.0.593 | 382 | 10/29/2025 |
Loading failed
Improve README documentation