<p>I have an object created in a host application and can access it remotely using remoting, is there any way I can test the connection to ensure it is still "alive"? Maybe an event I can use that fires if the remoting connection gets disconnected, or some property that can tell me the state of the remoting connection.  Is there something like this available?</p>

I generally add another method to the remoting server MarshallByRef class,
 (I generally name it Ping(), as in:
```
```
public void Ping() {}
```
```
that does nothing, and returns nothing.. Then to "test" my connection, I call this method... If it throws a System.Net.Sockets.Exception,  I have lost the connection....