Пример #1
0
 private static void AddFiltering(List<AccessHost> hosts)
 {
     foreach (var host in hosts)
       {
     Console.WriteLine("Adding MAC filter " + host.MacAddress + " => '" + host.Name + "'");
     var filter = new MacFilter { Name = host.Name, MacAddress = host.MacAddress };
     _router.AddMacFilter24GHz(filter);
     _router.AddMacFilter5GHz(filter);
       }
 }
Пример #2
0
 private static void AddFiltering(List <AccessHost> hosts)
 {
     foreach (var host in hosts)
     {
         Console.WriteLine("Adding MAC filter " + host.MacAddress + " => '" + host.Name + "'");
         var filter = new MacFilter {
             Name = host.Name, MacAddress = host.MacAddress
         };
         _router.AddMacFilter24GHz(filter);
         _router.AddMacFilter5GHz(filter);
     }
 }
Пример #3
0
 public void AddMacFilter5GHz(MacFilter filter)
 {
     DoRequest("userRpm/WlanMacFilterRpm_5g.htm?" + filter);
 }
Пример #4
0
 public void AddMacFilter5GHz(MacFilter filter)
 {
     DoRequest("userRpm/WlanMacFilterRpm_5g.htm?" + filter);
 }