示例#1
0
        public Xamarin.Forms.Labs.Services.NetworkStatus InternetConnectionStatus()
        {
            var status = Reachability.InternetConnectionStatus();

            return((NetworkStatus)Enum.Parse(typeof(NetworkStatus), status.ToString()));
        }
示例#2
0
 public NetworkStatus InternetConnectionStatus()
 {
     return(Reachability.InternetConnectionStatus());
 }