virtual-drive

Detect when a new virtual drive is created

ぐ巨炮叔叔 提交于 2019-12-31 03:44:05
问题 How can I know what trueCrypt volumes are mounted on a computer? Note I already know what files can be mounted. In other words the only volumes that can be mounted are: C:\Vol1.tc , C:\Vol2.tc and C:\Vol3.tc . How do I know when a volume is dismounted? I manage to do that by using the .net class FileSystemWatcher . Every time I dismount a volume I notice that the event FileSystemWatcher.Changed fires. How do I know when a volume is mounted? Here is where I am having trouble! Do I constantly

Windows virtual disk for remote web service

风格不统一 提交于 2019-12-05 01:07:06
问题 I need to implement a Windows Virtual Disk that is visible as a separate disk device in Windows Explorer and transfer all files/dir transferred forth and back to a remote WebService - sth like a DropBox. Do I have to implement/use a kernel driver SDK? Or is it possoible to use only shell extensions? What I need is to intercept all file/dir operations on that disk and map them to a corresponding WebService calls (file creation/deletion/move/edit and data transfer). Thanks 回答1: You will need a

Detect when a new virtual drive is created

故事扮演 提交于 2019-12-02 05:28:30
How can I know what trueCrypt volumes are mounted on a computer? Note I already know what files can be mounted. In other words the only volumes that can be mounted are: C:\Vol1.tc , C:\Vol2.tc and C:\Vol3.tc . How do I know when a volume is dismounted? I manage to do that by using the .net class FileSystemWatcher . Every time I dismount a volume I notice that the event FileSystemWatcher.Changed fires. How do I know when a volume is mounted? Here is where I am having trouble! Do I constantly query the drives and see if a drive exists. That sounds like a bad idea because if someone plugs in a

C#: Create a virtual drive in Computer

你离开我真会死。 提交于 2019-11-28 16:42:00
Is there any way to create a virtual drive in "(My) Computer" and manipulate it, somewhat like JungleDisk does it? It probably does something like: override OnRead(object sender, Event e) { ShowFilesFromAmazon(); } Are there any API:s for this? Maybe to write to an XML-file or a database, instead of a real drive. 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. Joel Lucsy You can use the Dokan library to create a virtual drive. There is a .Net

C#: Create a virtual drive in Computer

一世执手 提交于 2019-11-27 09:51:22
问题 Is there any way to create a virtual drive in "(My) Computer" and manipulate it, somewhat like JungleDisk does it? It probably does something like: override OnRead(object sender, Event e) { ShowFilesFromAmazon(); } Are there any API:s for this? Maybe to write to an XML-file or a database, instead of a real drive. 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