C#:创建计算机的虚拟驱动器 [英] C#: Create a virtual drive in Computer
问题描述
有什么方法来创建我的电脑的虚拟驱动器并操纵它,有点像JungleDisk是吧?
Is there any way to create a virtual drive in "(My) Computer" and manipulate it, somewhat like JungleDisk does it?
这可能确实是这样的:
override OnRead(object sender, Event e) {
ShowFilesFromAmazon();
}
是否有任何API:■本?也许写的,而不是一个真正的驱动器到一个XML文件或数据库。
Are there any API:s for this? Maybe to write to an XML-file or a database, instead of a real drive.
借助杜坎图书馆似乎是主要对应于我的问题的答案,尽管<一HREF =http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.aspx相对=nofollow> System.IO.IsolatedStorage 的似乎是最规范和最微软环境适应。
The Dokan Library seems to be the answer that mostly corresponds with my question, even though System.IO.IsolatedStorage seems to be the most standardized and most Microsoft-environment adapted.
推荐答案
您可以使用杜坎库创建一个虚拟驱动。这里是一个.NET包装用C#接口。
You can use the Dokan library to create a virtual drive. There is a .Net wrapper for interfacing with C#.
这篇关于C#:创建计算机的虚拟驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!