Derek
Derek

Reputation: 2205

A Windows Service to Send Emails

I want to create a Windows service in C# that monitors certain performance (CPU usage, Memory usage) and environmental factors (Disk space) on a server. If any problems arise it should email the administrator of the server.

The server has access to the internet.

Could anyone offer the guidance on how can I go about implementating such a service ?

Upvotes: 1

Views: 660

Answers (1)

Yahia
Yahia

Reputation: 70369

I am not sure what you are asking...

  • For the mail sending part you can SmtpClient
  • For the "health monitoring" you will need to dig deep - WMI / SNMP etc.

Upvotes: 1

Related Questions