Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have an application that we are porting from WPF (.Net Framework 4.8) to Xamarin.Mac and are struggling to get information from NetworkInterface.GetIPv4Statistics()
, the IPv4InterfaceStatistics
that is returned is all 0s.
The documentation for this function doesn't mention any special macOS permissions that might be required; does anyone know how to get valid data from NetworkInterface.GetIPv4Statistics()
? Thanks!!!