C
Chuck
I am developing an application for use on laptop computers. I need to be
able to programmatically determine if the laptop is connected to the
network. If the connection exists I want to use the database on the
server, otherwise I want to use a cache on the laptop. I do know the
address of a server on the LAN.
The only way I can see is to attempt to use
System.Data.OleDbConnection.Open(), and catch any exceptions it throws when
it can't find the server. I hope one of you can suggest a better answer, as
this one has problems.
At this time remoting to a service is not possible.
Anyone have any ideas?
Thanks
Chuck
able to programmatically determine if the laptop is connected to the
network. If the connection exists I want to use the database on the
server, otherwise I want to use a cache on the laptop. I do know the
address of a server on the LAN.
The only way I can see is to attempt to use
System.Data.OleDbConnection.Open(), and catch any exceptions it throws when
it can't find the server. I hope one of you can suggest a better answer, as
this one has problems.
At this time remoting to a service is not possible.
Anyone have any ideas?
Thanks
Chuck