Esempio n. 1
0
        /// <summary>
        /// Set the password.
        /// </summary>
        /// <param name="node">The node.</param>
        /// <param name="value">The value.</param>
// ReSharper disable InconsistentNaming
        public static void Set_Password(IModelReplicationNode node, string value)
// ReSharper restore InconsistentNaming
        {
            node.ProtectedPassword = encryptString(value);
        }
Esempio n. 2
0
        /// <summary>
        /// Get the password.
        /// </summary>
        /// <param name="node">The node.</param>
        /// <returns>Password</returns>
// ReSharper disable InconsistentNaming
        public static string Get_Password(IModelReplicationNode node)
// ReSharper restore InconsistentNaming
        {
            return(decryptString(node.ProtectedPassword));
        }