Info
Version: | 1.0.2 |
Author(s): | Andrea Capigiri |
Last Update: | Friday, June 12, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://andreacapigiri.com/ |
NuGet Url: | https://www.nuget.org/packages/PathExtension.GetAvailableFileName |
Install
Install-Package PathExtension.GetAvailableFileName
dotnet add package PathExtension.GetAvailableFileName
paket add PathExtension.GetAvailableFileName
PathExtension.GetAvailableFileName Download (Unzip the "nupkg" after downloading)
Dependencies
- NETStandard.Library(>= 1.6.1)
Tags
Use PathExtension.GetAvailableFileName to get the next available file name in that directory.
No more conflict on saving or moving files between into directories!
For example you got this path "C:\my_existing_file.txt" and you get this "C:\my_existing_file (1).txt".