Results 1 to 2 of 2

Thread: How to check if internet is available before connecting to Webservices

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    283

    How to check if internet is available before connecting to Webservices

    Is there a way in Win App to do a check whether internet is available before connecting to Webservices?

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: How to check if internet is available before connecting to Webservices

    You can check by two ways..
    1. One thing is make HttpWebRequest to a Web page and check the response and try
    2. Use the
    Code:
    My.Computer.Network.IsAvailable
    property
    Please mark you thread resolved using the Thread Tools as shown

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width