Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify for drive availability
Message
From
13/02/2009 12:14:58
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01381168
Message ID:
01381608
Views:
32
>If you know the IP address you could ping that with a short timeout. Wouldn't confirm that the drive was ready but....
>
using System.Net.NetworkInformation;
>PingReply response  = new Ping().Send("100.100.100.100", 5);
>bool worked = response.Status == IPStatus.Success;
5ms was more than enough on my network,

Thanks, I might add such a method in my DriveInformation() class to benefit of such approach.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform