Exemple #1
0
 public FileAttributes GetFileAttributes(string path)
 {
     if (path.Length < Win32FileSystem.MAX_PATH)
     {
         return(File.GetAttributes(path));
     }
     else
     {
         return(Win32LongPathFile.GetAttributes(path));
     }
 }