Upon pressing a button in VBNET I want it to report the status to the server either returning "online" or "offline" after checking the status. Does anyone have a clue how I could code this or have the code for this?
|
.NET
code to make a server status checker |
|
Jun 29, 2012 12:13 AM
(This post was last modified: Jun 29, 2012 12:13 AM by MaxPain.)
Place a button on your panel, and a textbox, then write the following code :
Code If my.computer.network.ping(Textbox1.text THE IP HERE) Then
Jun 29, 2012 12:25 AM
(This post was last modified: Jun 29, 2012 12:34 AM by ytlayol.)
here ya go
Code Tryu can use webclient instead of webrequest EDIT: it would be Code If New WebClient().DownloadString(New Uri("http://www.downforeveryoneorjustme.com/facebook.com")).Contains("It's not just you!") Then(Jun 29, 2012 12:25 AM)ytlayol Wrote: here ya go Some of the sites block downforjustme type sites. For EG: Hackforums. So it's better you use Ping.
follow me for nfts
https://twitter.com/DheerajShah_ |
|
|


