示例#1
0
        public static bool DeleteRoute(NetRoute o)
        {
            Log.Verbose("DeleteRoute {InterNetwork} {Address} {Cidr} {Gateway} {Interface} {Metric}",
                        AddressFamily.InterNetwork,
                        o.Network,
                        o.Cidr,
                        o.Gateway,
                        (ulong)o.InterfaceIndex,
                        o.Metric);

            return(RouteHelper.DeleteRoute(AddressFamily.InterNetwork, o.Network, o.Cidr, o.Gateway, (ulong)o.InterfaceIndex, o.Metric));
        }
示例#2
0
 public static bool DeleteRoute(NetRoute o)
 {
     return(RouteHelper.DeleteRoute(AddressFamily.InterNetwork, o.Network, o.Cidr, o.Gateway, (ulong)o.InterfaceIndex, o.Metric));
 }