<p>Is there any way to create a virtual drive in "(My) Computer" and manipulate it, somewhat like JungleDisk does it?</p>

<p>It probably does something like:</p>

<pre><code>override OnRead(object sender, Event e) {
    ShowFilesFromAmazon();
}
</code></pre>

<p>Are there any API:s for this? Maybe to write to an XML-file or a database, instead of a real drive.</p>

<hr>

<p>The <a href="http://dokan-dev.net/en/" rel="noreferrer">Dokan Library</a> seems to be the answer that mostly corresponds with my question, even though <a href="http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.aspx" rel="noreferrer">System.IO.IsolatedStorage</a> seems to be the most standardized and most Microsoft-environment adapted.</p>

[{'answer_id': 56919, 'author': 'Chris Wenham', 'author_id': 5548, 'author_profile': 'https://Stackoverflow.com/users/5548', 'pm_score': 2, 'selected': False, 'text': '<p>Yes, use the classes in <a href="http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.aspx" rel="nofollow noreferrer">System.IO.IsolatedStorage</a></p>\n'}, {'answer_id': 57079, 'author': 'Joel Lucsy', 'author_id': 645, 'author_profile': 'https://Stackoverflow.com/users/645', 'pm_score': 4, 'selected': True, 'text': '<p>You can use the <a href="https://dokan-dev.github.io/" rel="nofollow noreferrer">Dokan library</a> to create a virtual drive. There is a .Net wrapper for interfacing with C#.</p>\n'}, {'answer_id': 268935, 'author': 'MSalters', 'author_id': 15416, 'author_profile': 'https://Stackoverflow.com/users/15416', 'pm_score': 2, 'selected': False, 'text': '<p>The contents of My Computer can include Shell Namespace Extensions. These COM objects run inside the main Explorer process, as do many other shell extensions. Using C# for such extensions is a bad idea, since your extension cannot control which CLR version Explorer.exe can use. And Microsoft allows only one CLR per process.</p>\n'}, {'answer_id': 66696796, 'author': 'Coder', 'author_id': 14187101, 'author_profile': 'https://Stackoverflow.com/users/14187101', 'pm_score': 4, 'selected': False, 'text': '<p>Depending on what type of virtual drive you wish to build, here are some new OS API recently introduced in Windows, macOS and iOS.</p>\n<p>Some of the below API is available as managed .NET code on Windows but many are a native Windows / macOS / iOS API. Even though, I was able to consume many of the below API in .NET and Xamarin applications and build entire Virtual Drive in C# for Windows, macOS and iOS.</p>\n<h2>For Remote Cloud Storage</h2>\n<p><strong>On Windows.</strong> Windows 10 provides <a href="https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine" rel="noreferrer">Cloud Sync Engine API</a> for creating virtual drives that publish data from a remote location. It is also known under the “Cloud Filter API” name or “Windows Cloud Provider”. Here are its major features:</p>\n<ul>\n<li>On-demand folders listing. Folder listing is made only when the first requested by the client application to the file system is made. File content is not downloaded, but all file properties including file size are available on the client via regular files API.</li>\n<li>On-demand file content loading. File content can be downloaded in several modes (progressive, streaming mode, allow background download, etc) and made available to OS when application makes first file content reading request.</li>\n<li>Offline files support. Files can be edited in the offline mode, pinned/unpinned and synched to/from the server.</li>\n<li>Windows shell integration. Windows File Manager shows file status (modified, in-sync, conflict) and file download progress.</li>\n<li>Metadata and properties support. Custom columns can be displayed in Windows File Manager as well as some binary metadata can be associated with each file and folder.</li>\n</ul>\n<p><strong>On macOS and iOS.</strong> MacOS Big Sur and iOS 11+ provides similar API called <a href="https://developer.apple.com/documentation/fileprovider" rel="noreferrer">File Provider API</a>. Its features are similar to what Windows API provides:</p>\n<ul>\n<li>On-demand folders listing.</li>\n<li>On-demand files content loading.</li>\n<li>Offline files support.</li>\n<li>File Manager Integration. In macOS Finder and iOS Files application you can can show file status (in the cloud, local).</li>\n</ul>\n<p>I am not sure currently if files/folders and can show custom columns in macOS Finder and store any metadata.</p>\n<h2>For High-Speed Local Storage</h2>\n<p><strong>On Windows.</strong> Windows provides <a href="https://learn.microsoft.com/en-us/windows/win32/projfs/projected-file-system" rel="noreferrer">ProjFS API</a>. Its main difference from the Cloud Sync Engine API and macOS/iOS File Provider API is that it hides the fact that it is a remote storage. It does not provide any indication of the file status, download progress, ets. The documentation says it is intended for “projecting” hierarchical data in the form of file system.</p>\n'}]
['https://Stackoverflow.com/questions/56908', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2429/']