f6d0d043b5
Created 4.1.0 branch [TFS Changeset #55082]
21 lines
440 B
C#
21 lines
440 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace umbraco.cms.businesslogic.utilities {
|
|
public class IOPermissions {
|
|
|
|
public static bool IsFileWriteable(string path) {
|
|
if(System.IO.File.Exists(path)){
|
|
System.IO.FileInfo fi = new System.IO.FileInfo(path);
|
|
fi.OpenWrite();
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|