EasyFileIO 1.0.1

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

EasyFileIO

EasyFileIO is a comprehensive C# library for file and directory operations. It provides a simple and efficient way to handle common file tasks, including reading, writing, encryption, compression, and more.

Features

  • Basic file operations: read, write, append, copy, move
  • Directory operations: create, delete, check existence
  • CSV handling: read and write with different delimiters
  • Asynchronous file operations
  • JSON serialization and deserialization
  • File searching and batch operations
  • File encryption and decryption
  • File compression and decompression
  • File watching for changes
  • File hashing
  • Temporary file creation
  • File locking checks
  • File splitting and merging

Installation

Install EasyFileIO via NuGet:

Install-Package EasyFileIO

Usage

using EasyFileIO;

// Read a file
string content = FileHandler.ReadFile("path/to/file.txt");

// Write to a file
FileHandler.WriteFile("path/to/file.txt", "Hello, World!");

// Encrypt a file
FileHandler.EncryptFile("input.txt", "encrypted.bin", "password123");

// Read CSV
var csvData = FileHandler.ReadCsv("data.csv", CsvDelimiter.Comma);

// ... and many more operations

Documentation

For detailed documentation, please refer to the XML comments in the source code.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
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.1 105 8/2/2024
1.0.0 89 8/2/2024