can we check folder permission on remote machine using c#
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
精彩评论