Beispiel #1
0
 public bool SetInterface(Guid interfaceId)
 {
     bool status = false;
     foreach (WlanClient.WlanInterface intf in AvalibleWlanInterfaces)
     {
         if (intf.InterfaceGuid != interfaceId) continue;
         //We've found the interface
         WlanInterface = intf;
         status = true;
     }
     return status;
 }
Beispiel #2
0
 public bool SetInterface(string interfaceName)
 {
     bool status = false;
     foreach (WlanClient.WlanInterface intf in AvalibleWlanInterfaces)
     {
         if (intf.InterfaceDescription != interfaceName) continue;
         //We've found the interface
         WlanInterface = intf;
         status = true;
     }
     return status;
 }