0
I developed an application that monitors events in filesystem using the class FileSystemWatcher
and would like to leave installed on the file server happens that I need to register the user who accessed the file over the network.
Observing: locally know I can use:
System.Security.Principal.WindowsIdentity.GetCurrent().Name
or
ManagementObjectSearcher searcher =
new ManagementObjectSearcher("SELECT UserName FROM Win32_ComputerSystem");
ManagementObjectCollection collection = searcher.Get();
and by the network?
How about making a record of users in a comic book. When changing the file ask for user confirmation, password and confirmed pass time info and user name to another table. Becomes unviable?
– Paz
Speak there. Putz guy makes very impossible. There must be a way, the OS itself records these events when the file audit is enabled. :(
– Thiago Ceconelo