2020-03-24 19:08:37 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
2018-08-28 20:03:12 +02:00
|
|
|
// Licensed under the MIT License.
|
2020-09-02 05:15:16 +02:00
|
|
|
|
2018-08-28 20:03:12 +02:00
|
|
|
using System.ServiceProcess;
|
|
|
|
|
|
|
|
namespace TestService
|
|
|
|
{
|
2020-11-09 05:37:25 +01:00
|
|
|
internal static class Program
|
2018-08-28 20:03:12 +02:00
|
|
|
{
|
2020-11-09 05:37:25 +01:00
|
|
|
private static void Main()
|
2018-08-28 20:03:12 +02:00
|
|
|
{
|
|
|
|
ServiceBase[] ServicesToRun;
|
|
|
|
ServicesToRun = new ServiceBase[]
|
|
|
|
{
|
|
|
|
new Service1()
|
|
|
|
};
|
|
|
|
ServiceBase.Run(ServicesToRun);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|