Home All Groups Group Topic Archive Search About

My.Computer.Network.IsAvailable question

Author
30 Apr 2006 10:45 PM
J
Hi can someone tell me if the My.Computer.Network.IsAvailable will show true
if dial up is connected?
thank you,

Ed

Author
1 May 2006 3:38 AM
Peter Huang" [MSFT]
Hi

Due the complex network environment, it is hard to confirm this behavior.
Here is a link for your reference.
http://blogs.msdn.com/trobbins/archive/2005/12/07/501342.aspx

However, to some extent, the  My.Computer.Network.IsAvailable will
underlying call the API InternetGetConnectedState which will detect the
Modem status too.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/win
inet/internetgetconnectedstate.asp

So I think you may try to use this approach to detect the network status.

If you still have any conern, please feel free to post here.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.