/// <summary>
            /// Erstellt einen neuen Windows Dienst.
            /// </summary>
            /// <param name="configuration">Die zu verwendende Configuration.</param>
            public static void Run( RecordingServiceConfiguration configuration )
            {
                // Create the new service
                using (var service = new Service( configuration ))
                    if (DebugMode)
                    {
                        // Start host
                        service.CreateRecordingService();

                        // Wait
                        Console.WriteLine( "Running, press ENTER to End" );
                        Console.ReadLine();

                        // Done with host
                        service.RemoveRecordingService();
                    }
                    else
                    {
                        // Full processing
                        Run( service );
                    }
            }