I am trying to retrieve a file on a network location - actually a NAS with fixed IP address.
Using File.Exists(@"//myserver/myfile.txt") works just fine, unfortunately, File.Exists(@"//192.168.1.101/myfile.txt") doesn't (of course, I made sure ping myserver returns 192.168.1.101).
I couldn't find any reasonable explanation as to why using DNS names would work but not IP address. Is this a known issue or is it possibly an issue with my network? I'd really get it to work with IP address, but is it possible?