Skip to content

Repository files navigation

TagBites.IO.WinDrive

Nuget .NET 8.0 Windows License

Mount any TagBites.IO file system - local disk, FTP, ZIP, Dropbox, S3, a virtual composed tree, etc. - as a real Windows drive letter, using Dokan.

Requires the Dokan driver to be installed on the machine, and targets net8.0-windows.

Install

dotnet add package TagBites.IO.WinDrive

Targets net8.0-windows. Depends on DokanNet and the Dokan driver.

Usage

using TagBites.IO;

var directory = FileSystem.Local.GetDirectory("/some/folder");

using var drive = new WinDrive(directory)
{
    MountPoint = "V:\\", // or a folder path on an NTFS partition
    IsReadOnly = false
};
drive.Mount();

// ... drive is now browsable as V:\ ...

drive.Dismount();

Because it wraps a regular FileSystem, any TagBites.IO-backed storage can be mounted the same way - swap FileSystem.Local for an FTP, S3 or ZIP file system to expose that storage as a Windows drive instead.

AccessDenyFiles / AccessDenyProcesses let you block specific file names or processes (e.g. antivirus scanners, thumbnail generators) from touching the mounted drive.

Capabilities

  • Mounts any TagBites.IO file system as a Windows drive letter, so its capabilities are whatever the mounted file system reports.
  • Requires the Dokan driver installed on the machine.
  • The mount is visible to every process in the Windows session - see SECURITY.md.

Links

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages