开发者

can we check folder permission on remote machine using c#

开发者 https://www.devze.com 2023-01-20 13:17 出处:网络
can we check folder permission on remot开发者_运维百科e machine using c#.Assuming the account used to execute your code has access to those folders then, yes.

can we check folder permission on remot开发者_运维百科e machine using c#.


Assuming the account used to execute your code has access to those folders then, yes.

You can use the GetAccessControl method of a DirectoryInfo instance.

If the folder isn't shared, you can always use the C share: \\somemachine\C$\program files

0

精彩评论

暂无评论...
验证码 换一张
取 消