You've already forked EventLogLoader
mirror of
https://github.com/romanlryji/EventLogLoader.git
synced 2025-12-11 23:37:08 +02:00
27 lines
537 B
C#
27 lines
537 B
C#
|
|
using System.ServiceProcess;
|
||
|
|
|
||
|
|
namespace EventLogApp
|
||
|
|
{
|
||
|
|
class Program
|
||
|
|
{
|
||
|
|
static void Main(string[] args)
|
||
|
|
{
|
||
|
|
EventLogLoaderService service = new EventLogLoaderService();
|
||
|
|
|
||
|
|
service.DoWork();
|
||
|
|
|
||
|
|
//------------------------------------------------------
|
||
|
|
|
||
|
|
//ServiceBase[] ServicesToRun;
|
||
|
|
|
||
|
|
//ServicesToRun = new ServiceBase[]
|
||
|
|
//{
|
||
|
|
// new EventLogService()
|
||
|
|
//};
|
||
|
|
|
||
|
|
//ServiceBase.Run(ServicesToRun);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|