24 lines
514 B
C#
24 lines
514 B
C#
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.ServiceProcess;
|
||
|
|
using System.Text;
|
||
|
|
|
||
|
|
namespace NotificationMailer
|
||
|
|
{
|
||
|
|
static class Program
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// The main entry point for the application.
|
||
|
|
/// </summary>
|
||
|
|
static void Main()
|
||
|
|
{
|
||
|
|
ServiceBase[] ServicesToRun;
|
||
|
|
ServicesToRun = new ServiceBase[]
|
||
|
|
{
|
||
|
|
new NotificationService()
|
||
|
|
};
|
||
|
|
ServiceBase.Run(ServicesToRun);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|