模拟硬盘.NET硬盘、NET

2023-09-03 05:28:06 作者:不要見不要賤

有没有一种方法来模拟在.NET中的磁盘驱动器,拦截读/写/锁操作? 我想创造的东西有一个前端类似 GMail的硬盘在C#。

Is there a way to emulate a disk drive in .NET, intercepting read/write/lock operations? I would like to create something with a front-end similar to GMail Drive in C#.

谢谢, 汤姆

推荐答案

我用的是Eldos 回调文件系统自己为了这个目的,不过虽然它的好,这是不便宜。

I use the Eldos Callback File System myself for this purpose, but although it's good, it's not exactly cheap.

有一些免费/便宜的项目,以及,我敢肯定,其中一人提到了类似的问题在最近的SO - 无法找到它了,此刻,虽然。稳定性往往是一个大问题,但是,作为分层Windows文件系统驱动程序是不平凡的。

There are some free/cheap projects as well, and I'm sure one of them was mentioned in a similar question on SO recently -- can't find it anymore at the moment, though. Stability tends to be a major issue, though, as layered Windows file system drivers aren't trivial.