xamarin / mac-samples

Sample programs showing how to use Xamarin.Mac on OSX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreWLANWirelessManager should gracefully exit if no WiFi interface is available on host

manish opened this issue · comments

When there is no WiFi interface present on the host, interfacesPicker.AddItems(CWInterface.InterfaceNames) throws System.ArgumentNullException as CWInterface.InterfaceNames.

This is not the best experience for a sample and we need to gracefully exit with an error message.

Screenshot:

No WiFi interfaces present exception

Thanks @manish. Apologies for the slow response; this was fixed with #86.