I use the following code to check network availability in my WP7 app.
NetworkInterface.GetIsNetworkAvailable()
But this does not check whether the credentials are entered and network is working fine. Incase of protected networks(still not entered credentials) the condition goes true and my app crashes. Is there any way we can check this condition. How do I solve this?