peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

Added support for UNC paths. #14

Closed jnorton1205 closed 9 years ago

jnorton1205 commented 9 years ago

I have added support for UNC paths by converting \\server\share to \\?\UNC\server\share.

The primary changes required for this are in Path where I updated the logic that adds and removes the prefix to be UNC path aware. I also needed to implement a fix to CreateDirectory because the server name was being incorrectly detected as needing creation.

peteraritchie commented 9 years ago

manually merged.