WebDAV file system support for TagBites.IO, with no external dependencies beyond the .NET base class library. Browse, read and write a WebDAV server through the same FileSystem API used for local disk and other storages.
dotnet add package TagBites.IO.WebDav
using TagBites.IO.WebDav;
var fs = WebDavFileSystem.Create("https://webdav.example.com", "user", "password");
var file = fs.GetFile("/reports/summary.txt");
file.WriteAllText("Hello world!");
var content = file.ReadAllText();username/password can be omitted if the server doesn't require authentication. For full control over the connection, pass a WebDavConnectionConfig instead.
See https://www.tagbites.com/io for licensing terms.