How to manage a binary file as changeable drive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'd like to create and manage a virtual drive. The contents of this drive
will be managed in a binary file. I don't know how to describe it better - if
you know the Daemon Tools that create a virtual CD-ROM drive vom an ISO image
file: That's exactly what I want to do, but not with ISO files.

But I don't know how to start. Can anybody give me a tip where I find some
documentation / howto / tips about managing virtual drives (in C# of course)?

Greetings,
nd
 
Daemon Tools has its own device driver ( which is for sure not written in
..NET ). To accomplish what you want to do - you have to write the device
driver, that will be installed like a device on the system.

Device drivers operate on kernel mode, .NET operates in the user mode. So,
your application that will simulate virtual device, would consist of 2
parts: unmanaged device driver and .NET app that will communicate with the
driver via DeviceIoControl(....).
 
Back
Top