alphaleonis / AlphaFS

AlphaFS is a .NET library providing more complete Win32 file system functionality to the .NET platform than the standard System.IO classes.
http://alphafs.alphaleonis.com/
MIT License
566 stars 99 forks source link

Path.LocalToUnc(path, true) does not return UNC path in long path form. #376

Closed Yomodo closed 6 years ago

Yomodo commented 6 years ago

Reported by @damiarnold in #375

One other point of consideration, when calling Path.LocalToUnc("W:\\subpath", true), the returned path is \\server.test.lab\share1 instead of \\?\UNC\server.test.lab\share1 as would be expected for Long Paths.