/// <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); }
/// <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)); }