Example #1
0
        public new _____________________________ ________________(INetFwRule _)
        {
            //IPAddress[] hostAddresses = Dns.GetHostAddresses("www.google.com");
            var __    = _.Name.LastIndexOf(global::_.______.___, StringComparison.Ordinal);
            var ___   = _.Name.Substring(__ + global::_.______.___.Length);
            var ____  = _____________________________._________________(___);
            var _____ = ____ == null;

            if (____ == null)
            {
                ____ = new _____________________________(______, _________(), this.__)
                {
                    ______         = false,
                    ____________   = ___,
                    ______________ = _.ApplicationName,
                    _ = global::_.______________________________________.___,
                    ________________ = _.Action == NET_FW_ACTION_.NET_FW_ACTION_BLOCK
                }
            }
            ;
            ____.__________ = _____ ? _.Direction : _.Direction | ____.__________;
            if (_.Direction == NET_FW_RULE_DIRECTION_.NET_FW_RULE_DIR_IN)
            {
                ____.________ = _;
            }
            else
            {
                ____._________ = _;
            }
            ____._________________();
            return(____);
        }
Example #2
0
 private void ____(_____________________________ rule)
 {
     if (__._ == true)
     {
         return;
     }
     rule._________________();
 }
Example #3
0
        private void ____(FileSystemInfo rule, bool markAsNew)
        {
            if (!rule.Exists)
            {
                return;
            }
            var r = new _____________________________(______, _________(), __)
            {
                ______         = markAsNew,
                ____________   = rule.Name,
                ______________ = rule.FullName,
                __________     = NET_FW_RULE_DIRECTION_.NET_FW_RULE_DIR_OUT,
            };

            r._________________();
        }