using System.Collections.Generic; using System.ServiceProcess; using System.Text; namespace ASTrace { static class Program { /// /// The main entry point for the application. /// static void Main() { ServiceBase[] ServicesToRun; // More than one user Service may run within the same process. To add // another service to this process, change the following line to // create a second service object. For example, // // ServicesToRun = new ServiceBase[] {new ASTrace(), new MySecondUserService()}; // ServicesToRun = new ServiceBase[] { new Trace() }; ServiceBase.Run(ServicesToRun); } } }