public static bool SetAttributes(String path, FileAttributes fileAttributes) { String fullPath = NameFix.AddLongPathPrefix(path); return(Win32Native.SetFileAttributes(fullPath, (int)fileAttributes)); }
override protected bool ReleaseHandle() { return(Win32Native.FindClose(handle)); }
public static void Delete(String path) { String fullPath = NameFix.AddLongPathPrefix(path); Win32Native.RemoveDirectory(fullPath); }