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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. To know who are open my file tru LAN

To know who are open my file tru LAN

Scheduled Pinned Locked Moved Visual Basic
sysadmindebuggingtutorialannouncement
7 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.
  • V Offline
    V Offline
    vincentkhoosiongleng
    wrote on last edited by
    #1

    I want to know who are opening/update/rename/delete my file thru LAN when my folder are open network sharing. I need to know how to write this code for me to trace out who making modify of my file.

    D 1 Reply Last reply
    0
    • V vincentkhoosiongleng

      I want to know who are opening/update/rename/delete my file thru LAN when my folder are open network sharing. I need to know how to write this code for me to trace out who making modify of my file.

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

      As far as I can tell, you can't do this in Windows. I haven't been able to find a "WhoHas" utility nor can I find any Win32 API's that will even hint at this functionality. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      V 1 Reply Last reply
      0
      • D Dave Kreskowiak

        As far as I can tell, you can't do this in Windows. I haven't been able to find a "WhoHas" utility nor can I find any Win32 API's that will even hint at this functionality. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        V Offline
        V Offline
        vincentkhoosiongleng
        wrote on last edited by
        #3

        I know that. My method is use "FileSystemWatcher" to know which file was modify. And hope at the same time can know who modify it thru LAN.

        D 1 Reply Last reply
        0
        • V vincentkhoosiongleng

          I know that. My method is use "FileSystemWatcher" to know which file was modify. And hope at the same time can know who modify it thru LAN.

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

          There's no way to do it with the FileSystemWatcher either. All you'll know is one of the people attached to that server modified the file, but not which one of them. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          V 1 Reply Last reply
          0
          • D Dave Kreskowiak

            There's no way to do it with the FileSystemWatcher either. All you'll know is one of the people attached to that server modified the file, but not which one of them. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            V Offline
            V Offline
            vincentkhoosiongleng
            wrote on last edited by
            #5

            Thanks for your help. So, have any others method to do that job? May link with IPhost, or any others? Because I not familier with the IP networking development. Or may be can use host together with the timer? Means when the file was modify, then scan the LAN IP address and know which IP are in the folder?

            D 1 Reply Last reply
            0
            • V vincentkhoosiongleng

              Thanks for your help. So, have any others method to do that job? May link with IPhost, or any others? Because I not familier with the IP networking development. Or may be can use host together with the timer? Means when the file was modify, then scan the LAN IP address and know which IP are in the folder?

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

              There is no association between Files/Folders and IP's or user ID's. THere is no way to connect the two to get the information you want. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

              V 1 Reply Last reply
              0
              • D Dave Kreskowiak

                There is no association between Files/Folders and IP's or user ID's. THere is no way to connect the two to get the information you want. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                V Offline
                V Offline
                vincentkhoosiongleng
                wrote on last edited by
                #7

                Thanks a lot.:-D

                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