Пример #1
0
 private void BlockAllIpv4Network(uint weight)
 {
     _ipLayer.ApplyToIpv4(layer =>
     {
         _sublayer.CreateLayerFilter(
             new DisplayData("ProtonVPN block all IPv4", "Blocks all network"),
             Action.SoftBlock,
             layer,
             weight);
     });
 }
Пример #2
0
 private void BlockAllIpv4Network(uint weight)
 {
     _ipLayer.ApplyToIpv4(layer =>
     {
         _baseProtectionFilters.Add(_sublayer.CreateLayerFilter(
                                        new DisplayData("ProtonVPN block IPv4", "Block all IPv4 traffic"),
                                        Action.SoftBlock,
                                        layer,
                                        weight));
     });
 }
Пример #3
0
 private void BlockAllIpv4Network(uint weight)
 {
     _ipLayer.ApplyToIpv4(layer =>
     {
         _sublayer.CreateLayerFilter(
             new DisplayData("Time4VPS VPN block IPv4", "Block all IPv4 traffic"),
             Action.SoftBlock,
             layer,
             weight);
     });
 }