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
Post a Comment