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

sql - Return Function using Cursor -

javascript - Is there any way to add a new parameter to a function programmatically? -

sql server - How to use pivot in this table -