Which user caused FileSystemWatcher events?
问题 For example, I can catch the Delete event for various files in a folder tree, but how would I go about determining which user caused the delete to happen? I couldn't find anything obvious in the MSDN documentation for FileSystemWatcher, so maybe it is just not possible. I'd be curious if there is a solution however. 回答1: This isn't currently possible with the current implementations of the FileSystemWatcher as it does not receive this type of information when a file is deleted, or anything