public ServiceConfiguration GetConfigurations()
        {
            ServiceConfiguration serviceConfiguration;

            LogExtension.EnterMethod(SettingsSecureFileStore.logger, MethodBase.GetCurrentMethod());
            try
            {
                string encXml = SerializationHelper.ReadFromFile(SettingsSecureFileStore.FilePath);
                serviceConfiguration = ServiceConfiguration.FromXml(CryptographyHelper.DecryptFromLocalMachine(encXml));
                return(serviceConfiguration);
            }
            catch (Exception exception)
            {
                Exception ex = exception;
                SettingsSecureFileStore.logger.Error(ex.Message, ex);
            }
            LogExtension.EnterMethod(SettingsSecureFileStore.logger, MethodBase.GetCurrentMethod());
            serviceConfiguration = null;
            return(serviceConfiguration);
        }