c# See what process is changing filename of specific file
Is there a way in c# to find out what process is changing a name of a file when it's changed. I know how to see if the name is changed, but is there a way to see exactly what program/process that is doing it?
By enabling SACL in active directory or locally on the computer, you can audit who changed a file on a computer. Then you can configure a C# application to monitor the eventvwr.msc for any file changes. Follow these instructions to setup auditing: https://support.microsoft.com/en-us/kb/814595.