I have manually created a text file called AAAAA.txt in c:\windows\System32 , when I execute the following code:
var sys32Files = Directory.GetFiles(@"C:\windows\System32");
It returns a bunch of files, but AAAAA.txt is not in that list. All permissions on the AAAAA.txt are the same as on those file that get returned.
Could someone explain what may be the issue here?
And yes, I'm running as an administrator.