上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 1.设置文件的读写权限,给NETWORK SERVICE配置读写权限2.方法来自:http://msdn.microsoft.com/zh-cn/library/system.io.file.getattributes.aspx public static void Update(string path) { //设置文件为可写 FileAttributes att = File.GetAttributes(path); if ((att & FileAttributes.ReadOnly) == FileAttribu... 阅读全文
posted @ 2013-03-01 11:17 仰望繁星的猪 阅读(616) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页