Can I resolve a DFS path with DirectoryInfo?
Is there a way to resolve a DFS path directly with DirectoryInfo
?
I found this answer: How can I get an active开发者_高级运维 UNC Path in DFS programatically ... is this really my only option?
Correct, DirectoryInfo
provides no ability to "resolve" the active path of a DFS share. This is likely because DirectoryInfo
is on a much higher level.
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories.
The active path on a DFS share should be considered an "implementation detail" by your application.
精彩评论