I've a huge list of file paths to a remote share that I need to check for existence. example input:
\server\folder1\file1
\server\folder1\file2
\server\folder2\file3
etc.
We currently simply do File.Exists (which basically uses the FindFirstFile WinAPI) per file but it's pretty slow. Is there any more efficient way of doing it? is there a way to parallelize is somehow?