How to get a fully qualified UNC path? [duplicate]

♀尐吖头ヾ 提交于 2019-12-20 02:31:35

问题


This might be simple and I'm just overlooking something.

The FileInfo.FileName of a file lying on a network share returns something like this:

H:\Directory1\Dir2\...

What I need, though:

\\server\share\Directory1\Dir2\...

How can I achieve this?

来源:https://stackoverflow.com/questions/19404433/how-to-get-a-fully-qualified-unc-path

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!