16 lines
302 B
C#
16 lines
302 B
C#
using System.ServiceProcess;
|
|
|
|
namespace SleepService
|
|
{
|
|
internal static class Program
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
ServiceBase.Run(new ServiceBase[1]
|
|
{
|
|
(ServiceBase) new SleepService(args)
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|