FileSystemWatcher not raising when files are copied or moved to folder [duplicate]
Possible Duplicate: Detecting moved files using FileSystemWatcher I was looking for a solution to watch a directory and notify my app whenever a new file is moved into the directory. The Obvious solution was to use FileSystemWatcher class of the .NET. But the problem is , it raises a event a new file is created/deleted in the folder but does not raises event when a file is moved/copied into the folder. Can anyone tell me what could be the cause of such behavior. my code is static void Main(string[] args) { Run(); } [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public static void