开发者

Can I resolve a DFS path with DirectoryInfo?

开发者 https://www.devze.com 2023-03-09 22:21 出处:网络
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,

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.

0

精彩评论

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