예제 #1
0
        protected void SetPassword(ServerAddress identifier, string value)
        {
            if (value == null)
            {
                string val;
                Passwords.TryRemove(identifier.ToString(), out val);
                return;
            }
            var procced = value.EncodeTo64();

            Passwords.AddOrUpdate(identifier.ToString(), procced, (s, s1) => procced);
        }