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

            return(Win32Native.SetFileAttributes(fullPath, (int)fileAttributes));
        }
コード例 #2
0
        public static void Delete(String path)
        {
            String fullPath = NameFix.AddLongPathPrefix(path);

            Win32Native.RemoveDirectory(fullPath);
        }