G
Guest
When I call Directory.Exists for a UNC path like below...
if (Directory.Exists(@\\SomeServer\C) == false)
{
....
}
and that server does not exist on the connected network, it takes around a
minute to return from the call which properly returns false.
Is there a faster way to determine if a directory or server exists on the
network?
if (Directory.Exists(@\\SomeServer\C) == false)
{
....
}
and that server does not exist on the connected network, it takes around a
minute to return from the call which properly returns false.
Is there a faster way to determine if a directory or server exists on the
network?