C# app to record currently focused window
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 494B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.ServiceProcess;
  5. using System.Text;
  6. namespace WindowMonitor
  7. {
  8. static class Program
  9. {
  10. /// <summary>
  11. /// The main entry point for the application.
  12. /// </summary>
  13. static void Main()
  14. {
  15. ServiceBase[] ServicesToRun;
  16. ServicesToRun = new ServiceBase[]
  17. {
  18. new Service1()
  19. };
  20. ServiceBase.Run(ServicesToRun);
  21. }
  22. }
  23. }