问题
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