Esempio n. 1
0
        static void Main(string[] args)
        {
            string fakedServiceName = "MicrotingOdense";

            ServiceLogic serveiceLogic = new ServiceLogic();

            serveiceLogic.OverrideServiceLocation("c:\\microtingservice\\" + fakedServiceName + "\\");

            serveiceLogic.Start();
            Console.WriteLine("Press any key to close");
            Console.ReadKey();
            serveiceLogic.Stop();
        }