views:

110

answers:

2

Is this feasible to mount or create a drive using C#. If So , Can we use a redirector with the Virtual Drive?

For example , When I will click on the drive , it should be redirected to my code which will in-turn connect to webDav Server and get the list of files and folders.

+5  A: 

Mounting a "virtual drive" in C#

http://www.eggheadcafe.com/software/aspnet/30192806/mounting-a-virtual-drive.aspx

Create a "Virtual drive" Here some instructions below

http://bytes.com/topic/c-sharp/answers/224130-create-virtual-drive

Here With some code

DotNet C# (C sharp): Mounting a "virtual drive" ,DotNet C# (C ...

http://dotnet.itags.org/dotnet-c-sharp/82648/

ratty
+4  A: 

Yes, this is exactly what our Callback File System product is used for. There also exist several amateurish solutions for the same.

Another option is to create a local SMB server and connect to it by mapping a network drive. This approach doesn't require a kernel-mode driver, though has it's own limitations. Once there was WinFUSE product based on this approach, but it seems to be gone.

Eugene Mayevski 'EldoS Corp
@Eugene Mayevski 'EldoS, If you have any Code Snippet or article explaining how to create the SMB server and then MAp to network drive
Subhen
Unfortunately I don't have such sample code, but you know what to search for :)
Eugene Mayevski 'EldoS Corp