/// <summary>
        /// Loads settings from a config file.
        /// </summary>
        /// <returns>a BlinkboxSccOptions instance.</returns>
        internal static BlinkboxSccOptions LoadFromConfig()
        {
            BlinkboxSccOptions options = null;

            if (File.Exists(configFileName))
            {
                try
                {
                    var serializer = new XmlSerializer(typeof(BlinkboxSccOptions));
                    using (TextReader tr = new StreamReader(configFileName))
                    {
                        options = (BlinkboxSccOptions)serializer.Deserialize(tr);
                    }
                }
                catch (Exception)
                {
                }
            }

            if (options == null)
            {
                options = new BlinkboxSccOptions();
            }

            options.Init();

            return(options);
        }
        /// <summary>
        /// Loads settings from a config file.
        /// </summary>
        /// <returns>a BlinkboxSccOptions instance.</returns>
        internal static BlinkboxSccOptions LoadFromConfig()
        {
            BlinkboxSccOptions options = null;

            if (File.Exists(configFileName))
            {
                try
                {
                    var serializer = new XmlSerializer(typeof(BlinkboxSccOptions));
                    using (TextReader tr = new StreamReader(configFileName))
                    {
                        options = (BlinkboxSccOptions)serializer.Deserialize(tr);
                    }
                }
                catch (Exception)
                {
                }
            }

            if (options == null)
            {
                options = new BlinkboxSccOptions();
            }

            options.Init();

            return options;
        }