C# Offline Mode
Posted on 2006-06-19
I am creating a distributed application which utliizes a central database to manage data. I would like allow users to store some data offline so that, in the case that they are not connected to the internet or the SQL server is down, they are still able to view existing data and perform offline functions.
There are two problems I have with this implementation.
(1) How can I check whether the user is connected to the internet or not
(2) How can I check whether the SQL server is running (assuming the user is online)