Catch file-system events
-
Hey all, Is there a way to catch file-system events (like file creation\deletion\etc) from my comupter? I know the .NET object FileSystemWatcher but it can't help me cause it asks for directory & I want to get the event from any disc on my computer.. It doesn't have to be a .NET object. a way to implement this would be helpfull too.. Thanks. RoyRose78
-
Hey all, Is there a way to catch file-system events (like file creation\deletion\etc) from my comupter? I know the .NET object FileSystemWatcher but it can't help me cause it asks for directory & I want to get the event from any disc on my computer.. It doesn't have to be a .NET object. a way to implement this would be helpfull too.. Thanks. RoyRose78
It can be done, but requires writing a seperate .DLL, preferably in C++, to expose an interface for your managed code to use. This .DLL is a file system extension, intercepting all FileI/O calls into NTFS... I don't know of any publicly available code that demonstrates the techniques involved. Oh! I almost forgot, the techniques involved will also require Admin rights in order to work! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
It can be done, but requires writing a seperate .DLL, preferably in C++, to expose an interface for your managed code to use. This .DLL is a file system extension, intercepting all FileI/O calls into NTFS... I don't know of any publicly available code that demonstrates the techniques involved. Oh! I almost forgot, the techniques involved will also require Admin rights in order to work! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hey Dave, Thanks for replying. Do you know any site \ book that I can use to examine this field.. Thanks again. RoyRose78
Information is extremely limited because of how specialized the topic is. There just isn't a huge call for it. You can start by Googling for "NTFS File System Extension". RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome