Determining if file exists using c# and resolving UNC path

后端 未结 6 638
星月不相逢
星月不相逢 2020-11-27 08:17

I am trying to write a function to determine if a file exists. The two methods prove to return inconsistent results (fileExists() seems to provide accurate results, compared

6条回答
  •  独厮守ぢ
    2020-11-27 08:44

    This can help you:
    http://www.codeplex.com/FileDirectoryPath
    It's NDepend.Helpers.FilePathDirectory, that have a "Path validity check API" among other that can be useful.

提交回复
热议问题