2019-03-08 20:04:43 +01:00
|
|
|
|
using System.ServiceProcess;
|
2019-03-08 18:21:08 +01:00
|
|
|
|
|
|
|
|
|
|
namespace SharpCATService
|
|
|
|
|
|
{
|
2019-03-08 20:04:43 +01:00
|
|
|
|
internal static class Program
|
2019-03-08 18:21:08 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The main entry point for the application.
|
|
|
|
|
|
/// </summary>
|
2019-03-08 20:04:43 +01:00
|
|
|
|
private static void Main()
|
2019-03-08 18:21:08 +01:00
|
|
|
|
{
|
|
|
|
|
|
ServiceBase[] ServicesToRun;
|
|
|
|
|
|
ServicesToRun = new ServiceBase[]
|
|
|
|
|
|
{
|
2019-03-08 20:04:43 +01:00
|
|
|
|
new Service()
|
2019-03-08 18:21:08 +01:00
|
|
|
|
};
|
|
|
|
|
|
ServiceBase.Run(ServicesToRun);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2019-03-08 20:04:43 +01:00
|
|
|
|
}
|