Re: Check for internet connection
Stoyan Damov <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
On 3/19/07, Stephen Bub <[email protected]> wrote: > Which status code? HTTPWebRequest.GetResponse() returns a WebResponse > which doesn't have a status code. The WebException has a status property, > but generating a WebException is exactly what I'm trying to avoid. > cast to HttpWebResponse, then get its HttpStatusCode Cheers, Stoyan