Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Mac ScanForNetworks Doesn't Work When Sandboxed

AllanChin.6924AllanChin.6924 USUniversity ✭✭✭

I've tried both these methods in a sandboxed app and interestingly enough, both calls return a null networks list on 10.12 only.

var mainInterface = CWWiFiClient.SharedWiFiClient.MainInterface;
var networks = mainInterface.ScanForNetworksWithSsid(null, out NSError error1);


var mainInterface = CWInterface.MainInterface;
var networks = mainInterface.ScanForNetworksWithSsid(null, out NSError error2);

the mainInterface.CachedScanResults is also null.

Has anybody else seen this problem and if so, is there a resolution? Again, this seems to be a 10.12 issue only, thus far.



  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    What entitlements did you ask for?

    Have you tried and\or

  • AllanChin.6924AllanChin.6924 USUniversity ✭✭✭

    We've asked for both in the Entitlements.

Sign In or Register to comment.