How know state of connection in app -


I use the next guide: but the associated property does not exist

  var Red = windows Networking Connectivity.Network Environments, Internet = RedZet Internet Connection (PROFILE); Console.log (internet.connected);  

That MSDN page is in error - the connected property does not exist (I I'll file a bug on the subject!).

If you do not have any connectivity, connect to the Internet will be an empty refund to start with the profile.

You can see the correct code of the information in sample sample 1. This is where the code was originally taken in that subject, and clearly both are not in sync.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -