1

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?

Community
  • 1
  • 1
IAbstract
  • 19,551
  • 15
  • 98
  • 146

1 Answers1

1

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.

user7116
  • 63,008
  • 17
  • 141
  • 172