} // WriteProgress

        /// <summary>
        /// Writes a debug string.
        /// </summary>
        /// <param name="text">
        /// The String that needs to be written.
        /// </param>
        internal void WriteDebug(string text)
        {
            if (_command != null)
            {
                _command.WriteDebug(text);
            }
        } // WriteDebug