IAbstract
IAbstract

Reputation: 19881

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?

Upvotes: 1

Views: 690

Answers (1)

user7116
user7116

Reputation: 64078

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.

Upvotes: 1

Related Questions