I need check ip address before calling the service, How could I do this?
What do you mean by check ip?
I need check Ip if there is connection, before calling services
hi @vivica there is a plugin \component called Xam.Plugin.Connectivity
We use below code to check if IP is reachable
var remote = await Plugin.Connectivity.CrossConnectivity.Current.IsRemoteReachable(remote, port, timeout);
where remote is IP without port number
port is port number
timeout is like if you give it as 5 sec component pings and checks if after 5 sec if no response is achieved we can conclude after 5 seconds the IP is not reachable
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies