Virtual disks in .NET?

Is there any simple .NET library for mounting virtual disks? I need to mount the archive on a virtual disk and most likely use a virtual file system.
The archive format does not support folders, so I will need to provide files and folders manually from the archive. Attributes are also not supported, but I use metadata files to store them.
The more control I have on the drive and FS, the better.

+6
virtualfilesystem
source share
3 answers

You can use the Dokan library to create a virtual disk. Take a look at Problem 43: not installing on Windows 7

+3
source share

If you need to do this in code, you can use our Reverse file system - this product was designed for tasks such as yours. It allows you to determine the structure of the file system in your code and perform reading and writing in the code. Thus, you can read and write to any archive format that you need.

0
source share

PowerShell (PSH) offers the possibility of creating "Providers" that allow you to process various resources as a file system (including file system, registry, active directory) at various levels to simple lists of value names (for example, dir env: will display all environment variables as contents drive env: .

PowerShell can also be integrated into a .NET application: roughly, create a Runspace , and then execute commands and scripts in it, including loading the PSH module, which includes the user provider. Runspace instance Runspace allow access to disks and their providers.

0
source share

All Articles