mac-samples/SCNetworkReachability
Craig a6577adcdf sample metadata schema fix (remove tech) 2019-07-19 18:59:42 -07:00
..
Resources SCNetworkReachability: new API in XamMac 1.4 2013-05-02 13:34:28 -04:00
Screenshots SCNetworkReachability: new API in XamMac 1.4 2013-05-02 13:34:28 -04:00
AppDelegate.cs Macsamples migrated to unified with tool 2014-11-21 20:09:57 -05:00
AppDelegate.designer.cs Macsamples migrated to unified with tool 2014-11-21 20:09:57 -05:00
Info.plist Updated min deployment version (#113) 2018-11-15 03:52:17 -05:00
Main.cs Macsamples migrated to unified with tool 2014-11-21 20:09:57 -05:00
MainMenu.xib SCNetworkReachability: new API in XamMac 1.4 2013-05-02 13:34:28 -04:00
MainWindow.cs [SCNetworkReachability] Fix build error, bug 25421 2014-12-16 20:17:20 +03:00
MainWindow.designer.cs Macsamples migrated to unified with tool 2014-11-21 20:09:57 -05:00
MainWindow.xib SCNetworkReachability: new API in XamMac 1.4 2013-05-02 13:34:28 -04:00
MainWindowController.cs Macsamples migrated to unified with tool 2014-11-21 20:09:57 -05:00
Metadata.xml Add brief description tag to metadata.xml 2015-04-16 15:35:20 -04:00
README.md sample metadata schema fix (remove tech) 2019-07-19 18:59:42 -07:00
SCNetworkReachability.csproj Set HttpClientHandler to NSUrlSessionHandler for all samples 2018-05-02 13:22:24 -06:00
SCNetworkReachability.sln SCNetworkReachability: new API in XamMac 1.4 2013-05-02 13:34:28 -04:00

README.md

name description page_type languages products urlFragment
Xamarin.Mac - SCNetworkReachability The NetworkReachability programming interface allows an application to determine the status of a system's current network configuration and the... sample
csharp
xamarin
scnetworkreachability

SCNetworkReachability

The NetworkReachability programming interface allows an application to determine the status of a system's current network configuration and the reachability of a target host. A remote host is considered reachable when a data packet, sent by an application into the network stack, can leave the local device. Reachability does not guarantee that the data packet will actually be received by the host.

The NetworkReachability programming interface supports a synchronous and an asynchronous model. In the synchronous model, you get the reachability status by calling the TryGetFlags function. In the asynchronous model, you can schedule the NetworkReachability object on the CFRunLoop of a client objects thread. The client implements a callback function (SetNotification) to receive notifications when the reachability status of a given remote host changes.