Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(serverUrl);
 - System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse();
 - if (response.StatusCode == System.Net.HttpStatusCode.OK)
 - {
 - response.Close();
 - return true;
 - }
 - if ( new System.Net.WebClient().DownloadString(" url here ").Length > 0 )
 - {
 - // ...
 - }
 
                    Add Comment                
                
                        Please, Sign In to add comment