Program.cs 477 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ServiceProcess;
  4. using System.Text;
  5. namespace EMISOnline.WinService
  6. {
  7. static class Program
  8. {
  9. /// <summary>
  10. /// 应用程序的主入口点。
  11. /// </summary>
  12. static void Main()
  13. {
  14. ServiceBase[] ServicesToRun;
  15. ServicesToRun = new ServiceBase[]
  16. {
  17. new FfmpegService()
  18. };
  19. ServiceBase.Run(ServicesToRun);
  20. }
  21. }
  22. }