I want to determine if a UNC file exists. I create a FileInfo object and then call FileInfo.Exists. But it will sometimes return false, even if the file really exists.
How can I pinpoint if a UNC file exists?
You cannot do this in a general sense, because, as Ben says, you may not have an ACL to find out if it exists. However, the best way to determine if a file exists (based on your script) is to try to open the file
Source: https://habr.com/ru/post/1777598/More articles:strange for a loop? C # - c #Get session cookie name - session-cookiesAndroid Opengl ES dark pixels on the edge of objects - androidThe best way to add a new sequentially numbered column to an existing data table is c #grails will not persist, but have no error - javaoutline style guide - coding-styleAndroid ListView Scrollbar - androidReduce duplicate information in database design - architectureОтправка данных через NamedPipe при отключении сервера - c#How to get MySQL to exit TRADITIONAL mode? - mysqlAll Articles