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); } }
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); } }
public void AddMacFilter5GHz(MacFilter filter) { DoRequest("userRpm/WlanMacFilterRpm_5g.htm?" + filter); }