Convert filename to UNC

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Is there a .NET function to convert a filename to a UNC value? For instance,
converting "H:\SomeFolder\Somefile.txt" to
\\server\share\SomeFolder\Somefile.txt

Thanks.

Tom
 
Never mind, I figured it out. Just stramge that the .NET framework doesn't
provide something like this directly.

Tom
 
Back
Top