/// <summary>
        /// Serialize to XML
        /// </summary>
        /// <param name="serialiseData"></param>
        public void createxml(object pword)
        {
            var        passwordBox = pword as PasswordBox;
            string     password    = passwordBox.Password;
            OptionData optionData  = new OptionData();

            optionData.TrueCare_Url    = this.TrueURL;
            optionData.OAuth2_ClientID = this.Authorization;
            optionData.MSSQL_Server    = this.SQL_Server;
            optionData.MSSQL_User      = this.SQL_User;
            optionData.MSSQL_Password  = EncAndDec.Encrypt(password);

            GenericXmlOps <OptionData> serializer = new GenericXmlOps <OptionData>();
            string            xml = serializer.Serialize(optionData);
            CaseInstallerBase caseInstallerBase = new CaseInstallerBase();

            this.regionManager.RequestNavigate("ContentRegion", "TrueManagementLegal");

            //string navigatePath = "TrueManagementLegal";
            //if (navigatePath != null)
            //{
            //    this.regionManager.RequestNavigate("ContentRegion", navigatePath);
            //}

            //var ProcessListTemp = this.ProcessList;
            //ProcessListTemp.Where(count => count.Process == "Initial Configurations").Select(s => s.Progresses = 2).ToList();
            //ProcessListTemp.Where(count => count.Process == "Configuration Settings").Select(s => s.Progresses = 2).ToList();
            //ProcessListTemp.Where(count => count.Process == "Legal Agreement").Select(s => s.Progresses = 1).ToList();
            //this.ProcessList = new ObservableCollection<InstallationSteps>(ProcessListTemp);
        }
        /// <summary>
        /// Deserialize from XML
        /// </summary>
        /// <param name="DeserialiseData"></param>
        public void LoadData(object deserialiseData)
        {
            this.ProcessList = new ObservableCollection <InstallationSteps>(Process());

            if (File.Exists(@"D:\\DotNET\\test\\CaseInstaller.xml"))
            {
                GenericXmlOps <OptionData> serializer = new GenericXmlOps <OptionData>();
                var deserilizedObject = serializer.Deserialize();
                this.TrueURL       = deserilizedObject.TrueCare_Url;
                this.Authorization = deserilizedObject.OAuth2_ClientID;
                this.SQL_Server    = deserilizedObject.MSSQL_Server;
                this.SQL_User      = deserilizedObject.MSSQL_User;
                string password = EncAndDec.Decrypt(deserilizedObject.MSSQL_Password);
                this.SQL_Password = password;
            }
            else
            {
                this.TrueURL       = String.Empty;
                this.Authorization = String.Empty;
                this.SQL_Server    = String.Empty;
                this.SQL_User      = String.Empty;
                this.SQL_Password  = String.Empty;
            }
        }