In .NET, is there a simple way to check whether the current user has access to create a file in a directory? Something equivalent to the C++ _access function, would be ideal.
我不想使用审判和错误(重弹档案,然后删除):除了看似黑客外,其他软件正在监测该目录,以便存档。
我不想使用系统。 名录服务:研究异常低价证券,解决集团成员问题,以及不同集团成员的许可如何相互作用,似乎容易发生,也过于困难。 必须在某个地方、没有的地方发挥“是”或“纳伊”的作用?
提前感谢!
[edit] as a bonus, if it would work for a network share as well, that d be cool.