Google News
logo
Silverlight - Interview Questions
How can you check the internet connection status in Silverlight?
You can check the internet connection status by using the following code :
 
If (NetworkInterface.GetIsNetworkAvailable())  
{  
Messagebox.Show("Network available");  
}  
else  
{  
Message.box.Show("Network not available");  
}​
  
Advertisement