Virtual File System for .NET (C#) Apache Commons VFS port.

NI.Vfs is based on Apache Commons VFS (C# port of V1) and adopted for .NET environment. NI.Vfs is used in NReco Framework applications.


  • Abstract filesystem API for accessing files by application logic
  • Mature object model for representing filesystem domain (folders tree and file operations)
  • Implementations: local filesystem, memory filesystem
  • Free and open source (LGPL)


how to use

  1. Install NI.Vfs nuget package
  2. using NI.Vfs;
    IFileSystem localFs = new LocalFileSystem("c:\\temp");
    var txtFile = localFs.ResolveFile("test1.txt");