Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在使用 Directory.CreateDirectory 时为计算机的所有用户设置所有权限为 True
你能给我指出一个开始吗?
认为你需要看看FileSystemSecurity.AddAccessRule
FileSystemSecurity.AddAccessRule