save when a web server , site or a mail server is up or down
-
I want to program to check when a site or web server or mail server is down or up and save these informtion in a database. How could I check these web servers?!
-
I want to program to check when a site or web server or mail server is down or up and save these informtion in a database. How could I check these web servers?!
Nafiseh Salmani wrote:
How could I check these web servers?!
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Nafiseh Salmani wrote:
How could I check these web servers?!
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
thanks for the answer but is not what I ask exactly!! I want to write a C#.net code to check web servers and mail servers automatically !!
-
thanks for the answer but is not what I ask exactly!! I want to write a C#.net code to check web servers and mail servers automatically !!
Nafiseh Salmani wrote:
I want to write a C#.net code to check web servers
The article suggest you the different ways. You can use of them to write your C# code. :)
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
I want to program to check when a site or web server or mail server is down or up and save these informtion in a database. How could I check these web servers?!
System.ServiceProcess contains all you need. You can construct ServiceController with service name and then check Status property. Edit: Thats in 3.5 framework.