Hello I'm writing an application where the user can enter a directory for storing some files.

In case he entered a directory on the mashine the program is running on, I can just use the path he entered.

In case he entered a directory on the network like this: 192.168.xxx.xxx...,
I can ping and if pingable use this path.

But what if the user has a mapped drive and enteres something like Y:\work... ? The .Net Ping class has a Send method, I'm using it like this:

```
try{
    Ping pinger = new Ping();
    PingReply reply = pinger.Send(NetworkIP);
} catch (PingException) {
    // Discard PingExceptions and return false;
}

```

But if the NetworkIP is Y:\ or something it throws a PingException even if the drive should be available.

Does anybody know how I can fix this? Maybe I can get the Ip address of the drive somehow and use it instead?

thanks for you help