Esempio n. 1
0
        public static bool SetAttributes(String path, FileAttributes fileAttributes)
        {
            String fullPath = NameFix.AddLongPathPrefix(path);

            return(Win32Native.SetFileAttributes(fullPath, (int)fileAttributes));
        }
Esempio n. 2
0
 override protected bool ReleaseHandle()
 {
     return(Win32Native.FindClose(handle));
 }
Esempio n. 3
0
        public static void Delete(String path)
        {
            String fullPath = NameFix.AddLongPathPrefix(path);

            Win32Native.RemoveDirectory(fullPath);
        }