How to identify a particular Web site is not active
Web Development
3
Posts
3
Posters
0
Views
1
Watching
-
How to identify a particular Web site is not active ? can i get any C# sample code for this ?
Gali1978 wrote:
not active
In what way ? - no updated content ? - cannot access the web site ?
Watched code never compiles.
-
How to identify a particular Web site is not active ? can i get any C# sample code for this ?
HttpWebResponse response = (HttpWebResponse)request.GetResponse(); if (response == null || response.StatusCode != HttpStatusCode.OK)