I am reading from server
MessageTable msg = (MessageTable)Activator.GetObject(typeof(MessageTable), portFormat, WellKnownObjectMode.Singleton);
if server is running then it return msg object with values and methods.
it never returns null msg,whether server is running or not, but when server is not available then calling it's method it throws exception, then how to check server is not running.