Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Catch file-system events

Catch file-system events

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RoyRose78
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • R 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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        R Offline
        R Offline
        RoyRose78
        wrote on last edited by
        #3

        Hey Dave, Thanks for replying. Do you know any site \ book that I can use to examine this field.. Thanks again. RoyRose78

        D 1 Reply Last reply
        0
        • R RoyRose78

          Hey Dave, Thanks for replying. Do you know any site \ book that I can use to examine this field.. Thanks again. RoyRose78

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups