摘要:
给你一个我自己收集整理的类:例:C# code?12345678910111213usingSystem.Security.AccessControl; stringstrPath="d:\temp"; if(!Directory.Exists(strPath)) { Directory.CreateDirectory(strPath); } //重新设置目录访问权限 NTFSHelper.RemoveDirectoryAccountSecurityAll(strPath); NTFSHelper.AddDirectorySecurity(strPath,"SYS 阅读全文
posted @ 2013-05-23 20:53
cyes
阅读(348)
评论(0)
推荐(0)