Share via


.NET Samples - How To: Services

This section includes the following sample:

SimpleService Sample

SimpleService Sample

This sample is a simple service application.

Namespaces used in this sample:

System; System.Diagnostics; System.ComponentModel; System.Timers; System.Configuration; System.Collections

Classes used in this sample:

Service; EventLog; Timer; Process; Type; EventHandler; ElapsedEventArgs; ElapsedEventHandler; Component; Object; Attribute; RunInstallerAttribute; EventArgs