Network Drive Availability Check

Can anyone point me in the direction of a component or routine that will check if a network drive is still accessable without hangint the P.C.


Ta!
LVL 1
chunky1Asked:
Who is Participating?
 
YodaMageConnect With a Mentor Commented:
Try to read or write to it in a try except test, return a boolean of true in the try, false in the exception.
0
 
darkloserCommented:
listen...
0
 
YunoshevCommented:
if (GetDriveType(RootPathName) == DRIVE_UNKNOWN)
{
  ...........
}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.