FileSystemWatcher - Capture User Account making changes

Posted on 2005-04-27
Last Modified: 2010-12-21
Is it possible to capture the username of the account that making the changes via a FileSystemWatcher
Question by:tbaseflug
    LVL 25

    Expert Comment

    TheLearnedOne once said, this is not possible.  Although, for file creation you could look at the File Owner.  There isn't any entry that I know of for user name when a file is modified.

    And I have to agree
    LVL 25

    Expert Comment

    Unless it is just on a local machine and not on a server (then you could just use environment.username)

    Author Comment

    RonaldBiemans -

    Thanks - is there a way to cpature the system / workstation name of a remote client (assuming that they are using RDP to access the server)?
    LVL 96

    Accepted Solution

    Ronald, thanks for the credit.

    You might be able to audit folder/file access:

    How To Audit User Access of Files, Folders, and Printers in Windows XP:;en-us;310399&sd=tech

    LVL 15

    Expert Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I'm currently working for a company where I have to upgrade over 50 VB6 programs to VB.NET 2008.  So far I'm about half way through, and I've learned quite a few tricks that drastically improve the performance of VB.NET apps. Because there are a…
    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now