Cross-platform library to send files to the recycle bin.
$ dotnet add package Emik.RubbishCross-platform library to send files to the recycle bin. Supports all major desktop platforms. (Windows, Mac, and Linux)
This project has a dependency to Emik.Morsels, if you are building this project, refer to its README first.
Emik.Rubbish.Move(string): Moves the file or directory to the recycling bin.Emik.Rubbish.MoveAsync(string, CancellationToken): Moves the file or directory to the recycling bin asynchronously.Issues and pull requests are welcome to help this repository be the best it can be.
This repository falls under the MPL-2 license.