Pinging a Windows Computer with Xam.Plugin.Connectivity PTMember
edited June 2016 in Xamarin.iOS

Hi, I'm having trouble pinging my computer using this plugin
I have a function something like this
private async void someFunction(string ipAddress)
bool result = await CrossConnectivity.Current.IsReachable(ipAddress); //for example Windows PC = and Router =

I always get false if it's a windows PC/iPhone or MAC but my router, ShareCenter I get the correct result.
Is there a fix? A way around? I'm unable to using the Ping.Send(ipAddress); I always get an error "Operation is not valid due to the current state of the object."

Any help?

Sign In or Register to comment.