/// <summary>
        /// If the file <see cref="HasScreenshot"/> then this method returns that
        /// screen shot as a Bitmap file.
        /// </summary>
        /// <returns>The Bitmap</returns>
        public Stream GetScreenshot()
        {
            CheckIfInitialised();

            using (ICompressedConfigFile file = new ZipCompressedConfigFile(_configFile))
            {
                string xslt = _xmlDocument.SelectSingleNode("/export/screenshot").InnerText;
                return(file.GetEntry(xslt));
            }
        }
        public void Initialise()
        {
            _isInitialised = true;

            using (ICompressedConfigFile tempFile = new ZipCompressedConfigFile(_configFile))
            {
                if (tempFile.HasEntry("export.config"))
                {
                    Stream stream = tempFile.GetEntry("export.config");
                    _xmlDocument = new XmlDocument();
                    _xmlDocument.LoadXml(new StreamReader(stream).ReadToEnd());
                    stream.Close();

                    ReadConfigurationDetails();
                    CheckIsValid(tempFile);
                }
            }
        }