In .NET 2.0-4.5, start with the GetIsNetworkAvailable method.
There is an example of this in our Professional Visual Studio 2012
chapter 34 "Client Application Services" section "Offline Support."
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click
on their post!