![]() |
1
8
简而言之
编辑比尔的评论
OP找到了我在原始答案中提到的那篇文章,并很友好地将其包括在内 the source code for the solution |
![]() |
2
4
使用线程进行检查。我认为线程可以超时。 |
![]() |
3
4
资料来源: http://www.jonathanantoine.com/2011/08/18/faster-file-exists/ 有人担心“驱动响应不够快”,所以这是速度和“真相”之间的折衷。如果你想百分之百地确定,你就不用它吗。 |
![]() |
4
1
|
|
5
0
我发现pathExists with thread timeout函数很有用,但最终意识到它需要将File.Exists更改为Directory.Exists才能正常工作。 |
![]() |
6
-1
|
|
gadpaw · 如何创建序列化对象集C# 9 年前 |