I am trying to access a network disk, with C#, I've tried doing this:
if (!Directory.Exists(path)) //With \\Server\path
OR
if (!(new FileInfo(path).Exist)) //With \\Server\path
Both tell me it does not exist.
I must say, I am running an ASP.NET site and I am trying to reach it from there, I don't know if that matters?
The thing I am trying to do is my DLL needs a path to the root directory of it's contents so I need to specify a path, the path is located in disk S but disk S is not a logical disk, it's a network disk.
We start the IIS website as an administrator of the whole domain to prevent not having privileges.