Пример #1
0
        static void Main(string[] args)
        {
//            TracesProvider.Initialize(new TraceOutput("169.254.25.129", 6666));
//            TracesProvider.Initialize(new TraceOutput("192.168.0.3", 6666));
            TracesProvider.Initialize(new StdTraceOutput());

            string appPath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase;
            string initial = new Uri(appPath).LocalPath;
            string path    = System.IO.Path.GetDirectoryName(initial);

            Starter.Start(path, true, initial);

            Starter.Shutdown(0);

            TracesProvider.TracesOutput.OutputTrace("End");
        }