I'm developing a C# application that will need to delete a couple of files in System32, and I'm doing the following:
File.Delete(@"c:\windows\system32\<file>");
This isn't working, it doesn't throw an exception but it also doesn't delete the file. I'm thinking it's related to the permissions, but I'm not sure how to fix it. Can you help?