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. C#
  4. Trace any copy of files in window xp ?

Trace any copy of files in window xp ?

Scheduled Pinned Locked Moved C#
debuggingquestion
5 Posts 3 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.
  • K Offline
    K Offline
    kindman_nb
    wrote on last edited by
    #1

    Hay I don't know if it's possible or not ... can I get any file that the user copy it on the hard disk .. thanks

    jooooo

    M M 2 Replies Last reply
    0
    • K kindman_nb

      Hay I don't know if it's possible or not ... can I get any file that the user copy it on the hard disk .. thanks

      jooooo

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Theoretically yes, put a watch on every directory. There may be an OS call to copy a file you may be able to monitor. No that does not make sense, too many apps can access the file system!

      Never underestimate the power of human stupidity RAH

      K 1 Reply Last reply
      0
      • K kindman_nb

        Hay I don't know if it's possible or not ... can I get any file that the user copy it on the hard disk .. thanks

        jooooo

        M Offline
        M Offline
        Marcelo Emmerich
        wrote on last edited by
        #3

        Hey kindman_nb, check the FileSystemWatcher class. You can set this to start watching at the root of your file system to get each and every file. However, it does not tell you explicitly which files were copied, only which files were created, updated, renamed or deleted. So in order to check for copied files you would have to keep a reference of files created and files removed. If you have the same file removed and created elsewhere in a short period of time, it's probably going to have been copied. Of course this only works if the file is being copied with the same name. Let me know if this applies to your case. If not try to provide some more details. Cheers, Marcelo

        -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

        K 1 Reply Last reply
        0
        • M Marcelo Emmerich

          Hey kindman_nb, check the FileSystemWatcher class. You can set this to start watching at the root of your file system to get each and every file. However, it does not tell you explicitly which files were copied, only which files were created, updated, renamed or deleted. So in order to check for copied files you would have to keep a reference of files created and files removed. If you have the same file removed and created elsewhere in a short period of time, it's probably going to have been copied. Of course this only works if the file is being copied with the same name. Let me know if this applies to your case. If not try to provide some more details. Cheers, Marcelo

          -- Marcelo Emmerich Software Development - Computer Graphics - Mobile Computing http://bytethings.blogspot.com

          K Offline
          K Offline
          kindman_nb
          wrote on last edited by
          #4

          thanks Marcelo .. it's ok now

          jooooo

          1 Reply Last reply
          0
          • M Mycroft Holmes

            Theoretically yes, put a watch on every directory. There may be an OS call to copy a file you may be able to monitor. No that does not make sense, too many apps can access the file system!

            Never underestimate the power of human stupidity RAH

            K Offline
            K Offline
            kindman_nb
            wrote on last edited by
            #5

            thanks my friend for your attention

            jooooo

            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