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

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

            Win32Native.RemoveDirectory(fullPath);
        }