Ejemplo n.º 1
0
        public void SosOnlinePasswordDecryptsAsEncrypted()
        {
            var settings = new SirenOfShameSettings(useMef: false);

            settings.SetSosOnlinePassword("blah!");
            Assert.AreEqual("blah!", settings.GetSosOnlinePassword());
        }
Ejemplo n.º 2
0
        private void InitializeSosOnlineSection()
        {
            _sosOnlineLogin.Text    = _settings.SosOnlineUsername;
            _sosOnlinePassword.Text = _settings.GetSosOnlinePassword();
            // todo: set sos online status correctly
            bool hasEverConnected = _settings.SosOnlineHighWaterMark != null;

            _sosOnlineStatus.Text = hasEverConnected ? "Ready to sync" : "Have never synced";
        }