/// <summary> /// Delete IP Sec rule on Local Client Machine /// </summary> /// <param name="ruleSettings">Security rule Settings: <see cref="SecurityRuleSettings"/></param> /// <returns>true if deleted successfully, false otherwise</returns> public bool DeleteIPsecRule(SecurityRuleSettings ruleSettings) { return(CtcUtility.DeleteIPsecRule(ruleSettings)); }
/// <summary> /// Create IP Sec rule on Local Client Machine /// </summary> /// <param name="ruleSettings">Security rule Settings: <see cref="SecurityRuleSettings"/></param> /// <param name="enableRule">true to enable rule, false to just create the rule</param> /// <returns>true if created successfully, false otherwise</returns> public bool CreateIPsecRule(SecurityRuleSettings ruleSettings, bool enableRule, bool enableProfiles) { return(CtcUtility.CreateIPsecRule(ruleSettings, enableRule, enableProfiles)); }